|
|||||||||
| Home >> All >> com >> jgoodies >> validation >> tutorial >> [ formatted overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.jgoodies.validation.tutorial.formatted
Class DateExample

java.lang.Objectcom.jgoodies.validation.tutorial.formatted.DateExample
- public final class DateExample
- extends java.lang.Object
Demonstrates different configurations of JFormattedTextField
to display and edit numbers. Shows
- how to use a custom DateFormat
- how to use a custom DateFormatter
- how to use a custom FormatterFactory
- how to reset a date to
null - how to map the empty string to a special date
- how to commit values on valid texts
- Version:
- $Revision: 1.7 $
To look under the hood of this component, this class exposes the bound properties text, value and editValid.
Constructor Summary DateExample()
Method Summary private java.util.ListappendDemoRows(DefaultFormBuilder builder)
Appends the demo rows to the given builder and returns the List of formatted text fields.javax.swing.JComponentbuildPanel()
Builds and returns a panel with a header row and the sample rows.static voidmain(java.lang.String[] args)
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitConstructor Detail DateExample
public DateExample()
Method Detail main
public static void main(java.lang.String[] args)
buildPanel
public javax.swing.JComponent buildPanel()
- Builds and returns a panel with a header row and the sample rows.
appendDemoRows
private java.util.List appendDemoRows(DefaultFormBuilder builder)
- Appends the demo rows to the given builder and returns the List of
formatted text fields.
Overview Package Class Use Deprecated Index Home >> All >> com >> jgoodies >> validation >> tutorial >> [ formatted overview ] PREV CLASS NEXT CLASS SUMMARY:
JAVADOC |
SOURCE |
DOWNLOAD | NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
com.jgoodies.validation.tutorial.formatted.DateExample