/lib/docs/api/com/toedter/calendar/JDateChooser.html
HTML | 1234 lines | 1094 code | 115 blank | 25 comment | 0 complexity | 6dbd59e1e595204c8bb85e70e610d819 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
Large files files are truncated, but you can click here to view the full file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.5.0_06) on Sun Jun 04 15:41:06 CEST 2006 -->
- <TITLE>
- JDateChooser (JCalendar API)
- </TITLE>
-
- <META NAME="keywords" CONTENT="com.toedter.calendar.JDateChooser class">
-
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
- <SCRIPT type="text/javascript">
- function windowTitle()
- {
- parent.document.title="JDateChooser (JCalendar API)";
- }
- </SCRIPT>
- <NOSCRIPT>
- </NOSCRIPT>
-
- </HEAD>
-
- <BODY BGCOLOR="white" onload="windowTitle();">
-
-
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
-
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../com/toedter/calendar/JCalendarBeanInfo.html" title="class in com.toedter.calendar"><B>PREV CLASS</B></A>
- <A HREF="../../../com/toedter/calendar/JDateChooserBeanInfo.html" title="class in com.toedter.calendar"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?com/toedter/calendar/JDateChooser.html" target="_top"><B>FRAMES</B></A>
- <A HREF="JDateChooser.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
- </SCRIPT>
- <NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
-
-
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
-
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- com.toedter.calendar</FONT>
- <BR>
- Class JDateChooser</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.toedter.calendar.JDateChooser</B>
- </PRE>
- <DL>
- <DT><B>All Implemented Interfaces:</B> <DD>java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible</DD>
- </DL>
- <HR>
- <DL>
- <DT><PRE>public class <B>JDateChooser</B><DT>extends javax.swing.JPanel<DT>implements java.awt.event.ActionListener, java.beans.PropertyChangeListener</DL>
- </PRE>
-
- <P>
- A date chooser containig a date editor and a button, that makes a JCalendar
- visible for choosing a date. If no date editor is specified, a
- JTextFieldDateEditor is used as default.
- <P>
-
- <P>
- <DL>
- <DT><B>Version:</B></DT>
- <DD>$LastChangedRevision: 101 $, $LastChangedDate: 2006-06-04 14:42:29 +0200 (So, 04 Jun 2006) $</DD>
- <DT><B>Author:</B></DT>
- <DD>Kai Toedter</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.toedter.calendar.JDateChooser">Serialized Form</A></DL>
- <HR>
-
- <P>
- <!-- ======== NESTED CLASS SUMMARY ======== -->
-
- <A NAME="nested_class_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Nested Class Summary</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="nested_classes_inherited_from_class_javax.swing.JPanel"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JPanel</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>javax.swing.JPanel.AccessibleJPanel</CODE></TD>
- </TR>
- </TABLE>
-
- <A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
- </TR>
- </TABLE>
-
- <A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
- </TR>
- </TABLE>
-
- <A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
- </TR>
- </TABLE>
-
- <!-- =========== FIELD SUMMARY =========== -->
-
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected javax.swing.JButton</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#calendarButton">calendarButton</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#dateEditor">dateEditor</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#dateSelected">dateSelected</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#isInitialized">isInitialized</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected <A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#jcalendar">jcalendar</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Date</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#lastSelectedDate">lastSelectedDate</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected javax.swing.JPopupMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#popup">popup</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
- </TR>
- </TABLE>
-
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
- <A NAME="constructor_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Constructor Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser()">JDateChooser</A></B>()</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(java.util.Date)">JDateChooser</A></B>(java.util.Date date)</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(java.util.Date, java.lang.String)">JDateChooser</A></B>(java.util.Date date,
- java.lang.String dateFormatString)</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(java.util.Date, java.lang.String, com.toedter.calendar.IDateEditor)">JDateChooser</A></B>(java.util.Date date,
- java.lang.String dateFormatString,
- <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(com.toedter.calendar.IDateEditor)">JDateChooser</A></B>(<A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</CODE>
-
- <BR>
- Creates a new JDateChooser with given IDateEditor.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(com.toedter.calendar.JCalendar, java.util.Date, java.lang.String, com.toedter.calendar.IDateEditor)">JDateChooser</A></B>(<A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A> jcal,
- java.util.Date date,
- java.lang.String dateFormatString,
- <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#JDateChooser(java.lang.String, java.lang.String, char)">JDateChooser</A></B>(java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</CODE>
-
- <BR>
- Creates a new JDateChooser.</TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
-
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></B>(java.awt.event.ActionEvent e)</CODE>
-
- <BR>
- Called when the jalendar button was pressed.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#cleanup()">cleanup</A></B>()</CODE>
-
- <BR>
- Should only be invoked if the JDateChooser is not used anymore.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.Calendar</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getCalendar()">getCalendar</A></B>()</CODE>
-
- <BR>
- Returns the calendar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> javax.swing.JButton</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getCalendarButton()">getCalendarButton</A></B>()</CODE>
-
- <BR>
- Returns the calendar button.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.Date</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getDate()">getDate</A></B>()</CODE>
-
- <BR>
- Returns the date.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getDateEditor()">getDateEditor</A></B>()</CODE>
-
- <BR>
- Returns the date editor.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getDateFormatString()">getDateFormatString</A></B>()</CODE>
-
- <BR>
- Gets the date format string.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> <A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getJCalendar()">getJCalendar</A></B>()</CODE>
-
- <BR>
- Returns the JCalendar component.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.Date</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getMaxSelectableDate()">getMaxSelectableDate</A></B>()</CODE>
-
- <BR>
- Gets the maximum selectable date.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.Date</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#getMinSelectableDate()">getMinSelectableDate</A></B>()</CODE>
-
- <BR>
- Gets the minimum selectable date.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#isEnabled()">isEnabled</A></B>()</CODE>
-
- <BR>
- Returns true, if enabled.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#main(java.lang.String[])">main</A></B>(java.lang.String[] s)</CODE>
-
- <BR>
- Creates a JFrame with a JDateChooser inside and can be used for testing.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#propertyChange(java.beans.PropertyChangeEvent)">propertyChange</A></B>(java.beans.PropertyChangeEvent evt)</CODE>
-
- <BR>
- Listens for a "date" property change or a "day" property change event
- from the JCalendar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setCalendar(java.util.Calendar)">setCalendar</A></B>(java.util.Calendar calendar)</CODE>
-
- <BR>
- Sets the calendar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setDate(java.util.Date)">setDate</A></B>(java.util.Date date)</CODE>
-
- <BR>
- Sets the date.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setDateFormatString(java.lang.String)">setDateFormatString</A></B>(java.lang.String dfString)</CODE>
-
- <BR>
- Sets the date format string.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setEnabled(boolean)">setEnabled</A></B>(boolean enabled)</CODE>
-
- <BR>
- Enable or disable the JDateChooser.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setFont(java.awt.Font)">setFont</A></B>(java.awt.Font font)</CODE>
-
- <BR>
- Sets the font of all subcomponents.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setIcon(javax.swing.ImageIcon)">setIcon</A></B>(javax.swing.ImageIcon icon)</CODE>
-
- <BR>
- Sets the icon of the buuton.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale l)</CODE>
-
- <BR>
- Sets the locale.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setMaxSelectableDate(java.util.Date)">setMaxSelectableDate</A></B>(java.util.Date max)</CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setMinSelectableDate(java.util.Date)">setMinSelectableDate</A></B>(java.util.Date min)</CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#setSelectableDateRange(java.util.Date, java.util.Date)">setSelectableDateRange</A></B>(java.util.Date min,
- java.util.Date max)</CODE>
-
- <BR>
- Sets a valid date range for selectable dates.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JDateChooser.html#updateUI()">updateUI</A></B>()</CODE>
-
- <BR>
- Updates the UI of itself and the popup.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>getAccessibleContext, getUI, getUIClassID, paramString, setUI</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
-
- <!-- ============ FIELD DETAIL =========== -->
-
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
-
- <A NAME="dateEditor"><!-- --></A><H3>
- dateEditor</H3>
- <PRE>
- protected <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> <B>dateEditor</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="calendarButton"><!-- --></A><H3>
- calendarButton</H3>
- <PRE>
- protected javax.swing.JButton <B>calendarButton</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="jcalendar"><!-- --></A><H3>
- jcalendar</H3>
- <PRE>
- protected <A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A> <B>jcalendar</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="popup"><!-- --></A><H3>
- popup</H3>
- <PRE>
- protected javax.swing.JPopupMenu <B>popup</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="isInitialized"><!-- --></A><H3>
- isInitialized</H3>
- <PRE>
- protected boolean <B>isInitialized</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="dateSelected"><!-- --></A><H3>
- dateSelected</H3>
- <PRE>
- protected boolean <B>dateSelected</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="lastSelectedDate"><!-- --></A><H3>
- lastSelectedDate</H3>
- <PRE>
- protected java.util.Date <B>lastSelectedDate</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
-
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
-
- <A NAME="constructor_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Constructor Detail</B></FONT></TH>
- </TR>
- </TABLE>
-
- <A NAME="JDateChooser()"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>()</PRE>
- <DL>
- <DD>Creates a new JDateChooser. By default, no date is set and the textfield
- is empty.
- <P>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(com.toedter.calendar.IDateEditor)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(<A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</PRE>
- <DL>
- <DD>Creates a new JDateChooser with given IDateEditor.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>dateEditor</CODE> - the dateEditor to be used used to display the date. if null, a
- JTextFieldDateEditor is used.</DL>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(java.util.Date)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(java.util.Date date)</PRE>
- <DL>
- <DD>Creates a new JDateChooser.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date or null</DL>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(java.util.Date, java.lang.String)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(java.util.Date date,
- java.lang.String dateFormatString)</PRE>
- <DL>
- <DD>Creates a new JDateChooser.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date or null<DD><CODE>dateFormatString</CODE> - the date format string or null (then MEDIUM SimpleDateFormat
- format is used)</DL>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(java.util.Date, java.lang.String, com.toedter.calendar.IDateEditor)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(java.util.Date date,
- java.lang.String dateFormatString,
- <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</PRE>
- <DL>
- <DD>Creates a new JDateChooser.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date or null<DD><CODE>dateFormatString</CODE> - the date format string or null (then MEDIUM SimpleDateFormat
- format is used)<DD><CODE>dateEditor</CODE> - the dateEditor to be used used to display the date. if null, a
- JTextFieldDateEditor is used.</DL>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(java.lang.String, java.lang.String, char)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</PRE>
- <DL>
- <DD>Creates a new JDateChooser. If the JDateChooser is created with this
- constructor, the mask will be always visible in the date editor. Please
- note that the date pattern and the mask will not be changed if the locale
- of the JDateChooser is changed.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>datePattern</CODE> - the date pattern, e.g. "MM/dd/yy"<DD><CODE>maskPattern</CODE> - the mask pattern, e.g. "##/##/##"<DD><CODE>placeholder</CODE> - the placeholer charachter, e.g. '_'</DL>
- </DL>
- <HR>
-
- <A NAME="JDateChooser(com.toedter.calendar.JCalendar, java.util.Date, java.lang.String, com.toedter.calendar.IDateEditor)"><!-- --></A><H3>
- JDateChooser</H3>
- <PRE>
- public <B>JDateChooser</B>(<A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A> jcal,
- java.util.Date date,
- java.lang.String dateFormatString,
- <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> dateEditor)</PRE>
- <DL>
- <DD>Creates a new JDateChooser.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>jcal</CODE> - the JCalendar to be used<DD><CODE>date</CODE> - the date or null<DD><CODE>dateFormatString</CODE> - the date format string or null (then MEDIUM Date format is
- used)<DD><CODE>dateEditor</CODE> - the dateEditor to be used used to display the date. if null, a
- JTextFieldDateEditor is used.</DL>
- </DL>
-
- <!-- ============ METHOD DETAIL ========== -->
-
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
-
- <A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
- actionPerformed</H3>
- <PRE>
- public void <B>actionPerformed</B>(java.awt.event.ActionEvent e)</PRE>
- <DL>
- <DD>Called when the jalendar button was pressed.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>actionPerformed</CODE> in interface <CODE>java.awt.event.ActionListener</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>e</CODE> - the action event</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="propertyChange(java.beans.PropertyChangeEvent)"><!-- --></A><H3>
- propertyChange</H3>
- <PRE>
- public void <B>propertyChange</B>(java.beans.PropertyChangeEvent evt)</PRE>
- <DL>
- <DD>Listens for a "date" property change or a "day" property change event
- from the JCalendar. Updates the date editor and closes the popup.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>propertyChange</CODE> in interface <CODE>java.beans.PropertyChangeListener</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>evt</CODE> - the event</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="updateUI()"><!-- --></A><H3>
- updateUI</H3>
- <PRE>
- public void <B>updateUI</B>()</PRE>
- <DL>
- <DD>Updates the UI of itself and the popup.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>updateUI</CODE> in class <CODE>javax.swing.JPanel</CODE></DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
- setLocale</H3>
- <PRE>
- public void <B>setLocale</B>(java.util.Locale l)</PRE>
- <DL>
- <DD>Sets the locale.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>setLocale</CODE> in class <CODE>java.awt.Component</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>l</CODE> - The new locale value</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getDateFormatString()"><!-- --></A><H3>
- getDateFormatString</H3>
- <PRE>
- public java.lang.String <B>getDateFormatString</B>()</PRE>
- <DL>
- <DD>Gets the date format string.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>Returns the dateFormatString.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setDateFormatString(java.lang.String)"><!-- --></A><H3>
- setDateFormatString</H3>
- <PRE>
- public void <B>setDateFormatString</B>(java.lang.String dfString)</PRE>
- <DL>
- <DD>Sets the date format string. E.g "MMMMM d, yyyy" will result in "July 21,
- 2004" if this is the selected date and locale is English.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>dfString</CODE> - The dateFormatString to set.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getDate()"><!-- --></A><H3>
- getDate</H3>
- <PRE>
- public java.util.Date <B>getDate</B>()</PRE>
- <DL>
- <DD>Returns the date. If the JDateChooser is started with a null date and no
- date was set by the user, null is returned.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the current date</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setDate(java.util.Date)"><!-- --></A><H3>
- setDate</H3>
- <PRE>
- public void <B>setDate</B>(java.util.Date date)</PRE>
- <DL>
- <DD>Sets the date. Fires the property change "date" if date != null.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the new date.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getCalendar()"><!-- --></A><H3>
- getCalendar</H3>
- <PRE>
- public java.util.Calendar <B>getCalendar</B>()</PRE>
- <DL>
- <DD>Returns the calendar. If the JDateChooser is started with a null date (or
- null calendar) and no date was set by the user, null is returned.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the current calendar</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setCalendar(java.util.Calendar)"><!-- --></A><H3>
- setCalendar</H3>
- <PRE>
- public void <B>setCalendar</B>(java.util.Calendar calendar)</PRE>
- <DL>
- <DD>Sets the calendar. Value null will set the null date on the date editor.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>calendar</CODE> - the calendar.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setEnabled(boolean)"><!-- --></A><H3>
- setEnabled</H3>
- <PRE>
- public void <B>setEnabled</B>(boolean enabled)</PRE>
- <DL>
- <DD>Enable or disable the JDateChooser.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>setEnabled</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - the new enabled value</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="isEnabled()"><!-- --></A><H3>
- isEnabled</H3>
- <PRE>
- public boolean <B>isEnabled</B>()</PRE>
- <DL>
- <DD>Returns true, if enabled.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>isEnabled</CODE> in class <CODE>java.awt.Component</CODE></DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>true, if enabled.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setIcon(javax.swing.ImageIcon)"><!-- --></A><H3>
- setIcon</H3>
- <PRE>
- public void <B>setIcon</B>(javax.swing.ImageIcon icon)</PRE>
- <DL>
- <DD>Sets the icon of the buuton.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>icon</CODE> - The new icon</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setFont(java.awt.Font)"><!-- --></A><H3>
- setFont</H3>
- <PRE>
- public void <B>setFont</B>(java.awt.Font font)</PRE>
- <DL>
- <DD>Sets the font of all subcomponents.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>setFont</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>font</CODE> - the new font</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getJCalendar()"><!-- --></A><H3>
- getJCalendar</H3>
- <PRE>
- public <A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A> <B>getJCalendar</B>()</PRE>
- <DL>
- <DD>Returns the JCalendar component. THis is usefull if you want to set some
- properties.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the JCalendar</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getCalendarButton()"><!-- --></A><H3>
- getCalendarButton</H3>
- <PRE>
- public javax.swing.JButton <B>getCalendarButton</B>()</PRE>
- <DL>
- <DD>Returns the calendar button.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the calendar button</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getDateEditor()"><!-- --></A><H3>
- getDateEditor</H3>
- <PRE>
- public <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> <B>getDateEditor</B>()</PRE>
- <DL>
- <DD>Returns the date editor.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the date editor</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setSelectableDateRange(java.util.Date, java.util.Date)"><!-- --></A><H3>
- setSelectableDateRange</H3>
- <PRE>
- public void <B>setSelectableDateRange</B>(java.util.Date min,
- java.util.Date max)</PRE>
- <DL>
- <DD>Sets a valid date range for selectable dates. If max is before min, the
- default range with no limitation is set.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum selectable date or null (then the minimum date is
- set to 01\01\0001)<DD><CODE>max</CODE> - the maximum selectable date or null (then the maximum date is
- set to 01\01\9999)</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setMaxSelectableDate(java.util.Date)"><!-- --></A><H3>
- setMaxSelectableDate</H3>
- <PRE>
- public void <B>setMaxSelectableDate</B>(java.util.Date max)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setMinSelectableDate(java.util.Date)"><!-- --></A><H3>
- setMinSelectableDate</H3>
- <PRE>
- public void <B>setMinSelectableDate</B>(java.util.Date min)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getMaxSelectableDate()"><!-- --></A><H3>
- getMaxSelectableDate</H3>
- <PRE>
- public java.util.Date <B>getMaxSelectableDate</B>()</PRE>
- <DL>
- <DD>Gets the maximum selectable date.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the maximum selectable date</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getMinSelectableDate()"><!-- --></A><H3>
- getMinSelectableDate</H3>
- <PRE>
- public java.util.Date <B>getMinSelectableDate</B>()</PRE>
- <DL>
- <DD>Gets the minimum selectable date.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the minimum selectable date</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="cleanup()"><!-- --></A><H3>
- cleanup</H3>
- <PRE>
- public void <B>cleanup</B>()</PRE>
- <DL>
- <DD>Should only be invoked if the JDateChooser is not used anymore. Due to popup
- handling it had to register a change listener to the default menu
- selection manager which will be unregistered here. Use this method to
- cleanup possible memory leaks.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="main(java.lang.String[])"><!-- --></A><H3>
- main</H3>
- <PRE>
- public static void <B>main</B>(java.lang.String[] s)</PRE>
- <DL>
- <DD>Creates a JFrame with a JDateChooser inside and can be used for testing.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>s</CODE> - The command line arguments</DL>
- </DD>
- </DL>
- <!-- ========= END OF CLASS DATA ========= -->
- <HR>
-
-
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <A NAME="navbar_bottom"><!-- --></A>
- <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <T…
Large files files are truncated, but you can click here to view the full file