Package Summary Overview Summary

### class:JSpinner.DateEditor [NONE]
- All Implemented Interfaces: ImageObserver, LayoutManager, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, ChangeListener Enclosing class: JSpinner
      public static class JSpinner.DateEditor
      extends JSpinner.DefaultEditor
An editor for a `JSpinner` whose model is a `SpinnerDateModel`. The value of the editor is displayed with a `JFormattedTextField` whose format is defined by a `DateFormatter` instance whose `minimum` and `maximum` properties are mapped to the `SpinnerDateModel`. Since: 1.4

### constructor:DateEditor(javax.swing.JSpinner) [NONE]
- #### DateEditor
      public DateEditor(JSpinner spinner)
Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerDateModel` with a `JFormattedTextField`. `This` `DateEditor` becomes both a `ChangeListener` on the spinners model and a `PropertyChangeListener` on the new `JFormattedTextField`. Parameters: `spinner` - the spinner whose model `this` editor will monitor Throws: `IllegalArgumentException` - if the spinners model is not an instance of `SpinnerDateModel` See Also: `getModel()`, `getFormat()`, `SpinnerDateModel`

### constructor:DateEditor(javax.swing.JSpinner, java.lang.String) [NONE]
- #### DateEditor
      public DateEditor(JSpinner spinner,
                        String dateFormatPattern)
Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerDateModel` with a `JFormattedTextField`. `This` `DateEditor` becomes both a `ChangeListener` on the spinner and a `PropertyChangeListener` on the new `JFormattedTextField`. Parameters: `spinner` - the spinner whose model `this` editor will monitor `dateFormatPattern` - the initial pattern for the `SimpleDateFormat` object that's used to display and parse the value of the text field. Throws: `IllegalArgumentException` - if the spinners model is not an instance of `SpinnerDateModel` See Also: `getModel()`, `getFormat()`, `SpinnerDateModel`, `SimpleDateFormat`

### method:getFormat() [NONE]
- #### getFormat
      public SimpleDateFormat getFormat()
Returns the `java.text.SimpleDateFormat` object the `JFormattedTextField` uses to parse and format numbers. Returns: the value of `getTextField().getFormatter().getFormat()`. See Also: `JSpinner.DefaultEditor.getTextField()`, `SimpleDateFormat`

### method:getModel() [NONE]
- #### getModel
      public SpinnerDateModel getModel()
Return our spinner ancestor's `SpinnerDateModel`. Returns: `getSpinner().getModel()` See Also: `JSpinner.DefaultEditor.getSpinner()`, `JSpinner.DefaultEditor.getTextField()`