/lib/docs/api/com/toedter/calendar/JTextFieldDateEditor.html
HTML | 1208 lines | 1081 code | 102 blank | 25 comment | 0 complexity | 00fa163edb13b40affd7a66db5dc4790 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:10 CEST 2006 -->
- <TITLE>
- JTextFieldDateEditor (JCalendar API)
- </TITLE>
-
- <META NAME="keywords" CONTENT="com.toedter.calendar.JTextFieldDateEditor class">
-
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
- <SCRIPT type="text/javascript">
- function windowTitle()
- {
- parent.document.title="JTextFieldDateEditor (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/JSpinnerDateEditor.html" title="class in com.toedter.calendar"><B>PREV CLASS</B></A>
- <A HREF="../../../com/toedter/calendar/JYearChooser.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/JTextFieldDateEditor.html" target="_top"><B>FRAMES</B></A>
- <A HREF="JTextFieldDateEditor.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.JFormattedTextField">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 JTextFieldDateEditor</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.text.JTextComponent
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JTextField
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JFormattedTextField
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.toedter.calendar.JTextFieldDateEditor</B>
- </PRE>
- <DL>
- <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A>, java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.CaretListener, javax.swing.Scrollable, javax.swing.SwingConstants</DD>
- </DL>
- <HR>
- <DL>
- <DT><PRE>public class <B>JTextFieldDateEditor</B><DT>extends javax.swing.JFormattedTextField<DT>implements <A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A>, javax.swing.event.CaretListener, java.awt.event.FocusListener, java.awt.event.ActionListener</DL>
- </PRE>
-
- <P>
- JTextFieldDateEditor is the default editor used by JDateChooser. It is a
- formatted text field, that colores valid dates green/black and invalid dates
- red. The date format patten and mask can be set manually. If not set, the
- MEDIUM pattern of a SimpleDateFormat with regards to the actual locale is
- used.
- <P>
-
- <P>
- <DL>
- <DT><B>Version:</B></DT>
- <DD>$LastChangedRevision: 97 $, $LastChangedDate: 2006-05-24 17:30:41 +0200 (Mi, 24 Mai 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.JTextFieldDateEditor">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.JFormattedTextField"><!-- --></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.JFormattedTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>javax.swing.JFormattedTextField.AbstractFormatter, javax.swing.JFormattedTextField.AbstractFormatterFactory</CODE></TD>
- </TR>
- </TABLE>
-
- <A NAME="nested_classes_inherited_from_class_javax.swing.JTextField"><!-- --></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.JTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>javax.swing.JTextField.AccessibleJTextField</CODE></TD>
- </TR>
- </TABLE>
-
- <A NAME="nested_classes_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></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.text.JTextComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.KeyBinding</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 java.awt.Color</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#darkGreen">darkGreen</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/JTextFieldDateEditor.html#date">date</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.text.SimpleDateFormat</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#dateFormatter">dateFormatter</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#datePattern">datePattern</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/DateUtil.html" title="class in com.toedter.calendar">DateUtil</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#dateUtil">dateUtil</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.text.MaskFormatter</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#maskFormatter">maskFormatter</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#maskPattern">maskPattern</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected char</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#placeholder">placeholder</A></B></CODE>
-
- <BR>
- </TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_javax.swing.JFormattedTextField"><!-- --></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.JFormattedTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>COMMIT, COMMIT_OR_REVERT, PERSIST, REVERT</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_javax.swing.JTextField"><!-- --></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.JTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>notifyAction</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="fields_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></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.text.JTextComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY</CODE></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_javax.swing.SwingConstants"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Fields inherited from interface javax.swing.SwingConstants</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST</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/JTextFieldDateEditor.html#JTextFieldDateEditor()">JTextFieldDateEditor</A></B>()</CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#JTextFieldDateEditor(boolean, java.lang.String, java.lang.String, char)">JTextFieldDateEditor</A></B>(boolean showMask,
- java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</CODE>
-
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#JTextFieldDateEditor(java.lang.String, java.lang.String, char)">JTextFieldDateEditor</A></B>(java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</CODE>
-
- <BR>
- </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/JTextFieldDateEditor.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></B>(java.awt.event.ActionEvent e)</CODE>
-
- <BR>
- Validates the typed date and sets it (only if it is valid).</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/JTextFieldDateEditor.html#caretUpdate(javax.swing.event.CaretEvent)">caretUpdate</A></B>(javax.swing.event.CaretEvent event)</CODE>
-
- <BR>
- After any user input, the value of the textfield is proofed.</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/JTextFieldDateEditor.html#createMaskFromDatePattern(java.lang.String)">createMaskFromDatePattern</A></B>(java.lang.String datePattern)</CODE>
-
- <BR>
- Creates a mask from a date pattern.</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/JTextFieldDateEditor.html#focusGained(java.awt.event.FocusEvent)">focusGained</A></B>(java.awt.event.FocusEvent e)</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/JTextFieldDateEditor.html#focusLost(java.awt.event.FocusEvent)">focusLost</A></B>(java.awt.event.FocusEvent focusEvent)</CODE>
-
- <BR>
- </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/JTextFieldDateEditor.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> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#getDateFormatString()">getDateFormatString</A></B>()</CODE>
-
- <BR>
- Returns tha date format string.</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/JTextFieldDateEditor.html#getMaxSelectableDate()">getMaxSelectableDate</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> java.util.Date</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#getMinSelectableDate()">getMinSelectableDate</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.awt.Dimension</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#getPreferredSize()">getPreferredSize</A></B>()</CODE>
-
- <BR>
- Returns the preferred size.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> javax.swing.JComponent</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#getUiComponent()">getUiComponent</A></B>()</CODE>
-
- <BR>
- Returns the UI component, e.g. the actual JTextField implementing the
- editor.</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/JTextFieldDateEditor.html#isMaskVisible()">isMaskVisible</A></B>()</CODE>
-
- <BR>
- Returns true, if the mask is visible.</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/JTextFieldDateEditor.html#main(java.lang.String[])">main</A></B>(java.lang.String[] s)</CODE>
-
- <BR>
- Creates a JFrame with a JCalendar 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/JTextFieldDateEditor.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>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html#setDate(java.util.Date, boolean)">setDate</A></B>(java.util.Date date,
- boolean firePropertyChange)</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/JTextFieldDateEditor.html#setDateFormatString(java.lang.String)">setDateFormatString</A></B>(java.lang.String dateFormatString)</CODE>
-
- <BR>
- Sets the date format string, e.g.</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/JTextFieldDateEditor.html#setEnabled(boolean)">setEnabled</A></B>(boolean b)</CODE>
-
- <BR>
- Enables and disabled the compoment.</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/JTextFieldDateEditor.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale locale)</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/JTextFieldDateEditor.html#setMaskVisible(boolean)">setMaskVisible</A></B>(boolean isMaskVisible)</CODE>
-
- <BR>
- Sets the mask visible.</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/JTextFieldDateEditor.html#setMaxSelectableDate(java.util.Date)">setMaxSelectableDate</A></B>(java.util.Date max)</CODE>
-
- <BR>
- Sets the maximum selectable 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/JTextFieldDateEditor.html#setMinSelectableDate(java.util.Date)">setMinSelectableDate</A></B>(java.util.Date min)</CODE>
-
- <BR>
- Sets the minimum selectable 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/JTextFieldDateEditor.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>
- </TABLE>
- <A NAME="methods_inherited_from_class_javax.swing.JFormattedTextField"><!-- --></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.JFormattedTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>commitEdit, getActions, getFocusLostBehavior, getFormatter, getFormatterFactory, getUIClassID, getValue, invalidEdit, isEditValid, processFocusEvent, processInputMethodEvent, setDocument, setFocusLostBehavior, setFormatter, setFormatterFactory, setValue</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_javax.swing.JTextField"><!-- --></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.JTextField</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>addActionListener, configurePropertiesFromAction, createActionPropertyChangeListener, createDefaultModel, fireActionPerformed, getAccessibleContext, getAction, getActionListeners, getColumns, getColumnWidth, getHorizontalAlignment, getHorizontalVisibility, getScrollOffset, isValidateRoot, paramString, postActionEvent, removeActionListener, scrollRectToVisible, setAction, setActionCommand, setColumns, setFont, setHorizontalAlignment, setScrollOffset</CODE></TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></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.text.JTextComponent</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, read, removeCaretListener, removeKeymap, removeNotify, replaceSelection, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setUI, updateUI, viewToModel, write</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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, 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, 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, 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, isEnabled, 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, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, 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>
- <A NAME="methods_inherited_from_class_com.toedter.calendar.IDateEditor"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from interface com.toedter.calendar.<A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../com/toedter/calendar/IDateEditor.html#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../com/toedter/calendar/IDateEditor.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../com/toedter/calendar/IDateEditor.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</A></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="date"><!-- --></A><H3>
- date</H3>
- <PRE>
- protected java.util.Date <B>date</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="dateFormatter"><!-- --></A><H3>
- dateFormatter</H3>
- <PRE>
- protected java.text.SimpleDateFormat <B>dateFormatter</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="maskFormatter"><!-- --></A><H3>
- maskFormatter</H3>
- <PRE>
- protected javax.swing.text.MaskFormatter <B>maskFormatter</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="datePattern"><!-- --></A><H3>
- datePattern</H3>
- <PRE>
- protected java.lang.String <B>datePattern</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="maskPattern"><!-- --></A><H3>
- maskPattern</H3>
- <PRE>
- protected java.lang.String <B>maskPattern</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="placeholder"><!-- --></A><H3>
- placeholder</H3>
- <PRE>
- protected char <B>placeholder</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="darkGreen"><!-- --></A><H3>
- darkGreen</H3>
- <PRE>
- protected java.awt.Color <B>darkGreen</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
-
- <A NAME="dateUtil"><!-- --></A><H3>
- dateUtil</H3>
- <PRE>
- protected <A HREF="../../../com/toedter/calendar/DateUtil.html" title="class in com.toedter.calendar">DateUtil</A> <B>dateUtil</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="JTextFieldDateEditor()"><!-- --></A><H3>
- JTextFieldDateEditor</H3>
- <PRE>
- public <B>JTextFieldDateEditor</B>()</PRE>
- <DL>
- </DL>
- <HR>
-
- <A NAME="JTextFieldDateEditor(java.lang.String, java.lang.String, char)"><!-- --></A><H3>
- JTextFieldDateEditor</H3>
- <PRE>
- public <B>JTextFieldDateEditor</B>(java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</PRE>
- <DL>
- </DL>
- <HR>
-
- <A NAME="JTextFieldDateEditor(boolean, java.lang.String, java.lang.String, char)"><!-- --></A><H3>
- JTextFieldDateEditor</H3>
- <PRE>
- public <B>JTextFieldDateEditor</B>(boolean showMask,
- java.lang.String datePattern,
- java.lang.String maskPattern,
- char placeholder)</PRE>
- <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="getDate()"><!-- --></A><H3>
- getDate</H3>
- <PRE>
- public java.util.Date <B>getDate</B>()</PRE>
- <DL>
- <DD><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDate()">IDateEditor</A></CODE></B></DD>
- <DD>Returns the date.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDate()">getDate</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the 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><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDate(java.util.Date)">IDateEditor</A></CODE></B></DD>
- <DD>Sets the date. This should be implemented as a bound property, firing the
- "date" property.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDate(java.util.Date)">setDate</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date to set</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setDate(java.util.Date, boolean)"><!-- --></A><H3>
- setDate</H3>
- <PRE>
- protected void <B>setDate</B>(java.util.Date date,
- boolean firePropertyChange)</PRE>
- <DL>
- <DD>Sets the date.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date<DD><CODE>firePropertyChange</CODE> - true, if the date property should be fired.</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setDateFormatString(java.lang.String)"><!-- --></A><H3>
- setDateFormatString</H3>
- <PRE>
- public void <B>setDateFormatString</B>(java.lang.String dateFormatString)</PRE>
- <DL>
- <DD><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDateFormatString(java.lang.String)">IDateEditor</A></CODE></B></DD>
- <DD>Sets the date format string, e.g. "MM/dd/yy". If the date format string
- is null or invalid, the date format string will be set to the MEDIUM
- Simple date format of the current locale.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDateFormatString(java.lang.String)">setDateFormatString</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>dateFormatString</CODE> - the date format string</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getDateFormatString()"><!-- --></A><H3>
- getDateFormatString</H3>
- <PRE>
- public java.lang.String <B>getDateFormatString</B>()</PRE>
- <DL>
- <DD><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDateFormatString()">IDateEditor</A></CODE></B></DD>
- <DD>Returns tha date format string.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDateFormatString()">getDateFormatString</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the date format string</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getUiComponent()"><!-- --></A><H3>
- getUiComponent</H3>
- <PRE>
- public javax.swing.JComponent <B>getUiComponent</B>()</PRE>
- <DL>
- <DD><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getUiComponent()">IDateEditor</A></CODE></B></DD>
- <DD>Returns the UI component, e.g. the actual JTextField implementing the
- editor.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#getUiComponent()">getUiComponent</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE></DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>the UI component</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="caretUpdate(javax.swing.event.CaretEvent)"><!-- --></A><H3>
- caretUpdate</H3>
- <PRE>
- public void <B>caretUpdate</B>(javax.swing.event.CaretEvent event)</PRE>
- <DL>
- <DD>After any user input, the value of the textfield is proofed. Depending on
- being a valid date, the value is colored green or red.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>caretUpdate</CODE> in interface <CODE>javax.swing.event.CaretListener</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>event</CODE> - the caret event</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="focusLost(java.awt.event.FocusEvent)"><!-- --></A><H3>
- focusLost</H3>
- <PRE>
- public void <B>focusLost</B>(java.awt.event.FocusEvent focusEvent)</PRE>
- <DL>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>focusLost</CODE> in interface <CODE>java.awt.event.FocusListener</CODE></DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="focusGained(java.awt.event.FocusEvent)"><!-- --></A><H3>
- focusGained</H3>
- <PRE>
- public void <B>focusGained</B>(java.awt.event.FocusEvent e)</PRE>
- <DL>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>focusGained</CODE> in interface <CODE>java.awt.event.FocusListener</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 locale)</PRE>
- <DL>
- <DD><B>Description copied from interface: <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setLocale(java.util.Locale)">IDateEditor</A></CODE></B></DD>
- <DD>Sets the locale. Usually this should have impact on the current date
- format string.
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html#setLocale(java.util.Locale)">setLocale</A></CODE> in interface <CODE><A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A></CODE><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>locale</CODE> - the locale to set</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="createMaskFromDatePattern(java.lang.String)"><!-- --></A><H3>
- createMaskFromDatePattern</H3>
- <PRE>
- public java.lang.String <B>createMaskFromDatePattern</B>(java.lang.String datePattern)</PRE>
- <DL>
- <DD>Creates a mask from a date pattern. This is a very simple (and
- incomplete) implementation thet works only with numbers. A date pattern
- of "MM/dd/yy" will result in the mask "##/##/##". Probably you want to
- override this method if it does not fit your needs.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>datePattern</CODE> - the date pattern
- <DT><B>Returns:</B><DD>the mask</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="isMaskVisible()"><!-- --></A><H3>
- isMaskVisible</H3>
- <PRE>
- public boolean <B>isMaskVisible</B>()</PRE>
- <DL>
- <DD>Returns true, if the mask is visible.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
-
- <DT><B>Returns:</B><DD>true, if the mask is visible</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="setMaskVisible(boolean)"><!-- --></A><H3>
- setMaskVisible</H3>
- <PRE>
- public void <B>setMaskVisible</B>(boolean isMaskVisible)</PRE>
- <DL>
- <DD>Sets the mask visible.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>isMaskVisible</CODE> - true, if the mask should be visible</DL>
- </DD>
- </DL>
- <HR>
-
- <A NAME="getPreferredSize()"><!-- --></A><H3>
- getPreferredSize</H3>
- <PRE>
- public java.awt.Dimension <B>getPreferredSize</B>()</PRE>
- <DL>
- <DD>Returns the preferred size. If a date pattern is set, it is the size the
- date pattern would take.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>getPreferredSize</CODE> in class <CODE>javax.swing.JTextField</CODE></DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
-
- <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>Validates the typed date and sets it (only if it is valid).
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>actionPerformed</CODE> in interface <CODE>java.awt.event.ActionListener<…
Large files files are truncated, but you can click here to view the full file