| Package | Description | 
|---|---|
| javax.swing | 
 Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. 
 | 
| javax.swing.plaf.basic | 
 Provides user interface objects built according to the
Basic look and feel. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JSpinner | 
JSpinner.DefaultEditor.getSpinner()
Returns the  
JSpinner ancestor of this editor or
 null if none of the ancestors are a
 JSpinner. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JSpinner.DefaultEditor.dismiss(JSpinner spinner)
Disconnect  
this editor from the specified
 JSpinner. | 
| Constructor and Description | 
|---|
DateEditor(JSpinner spinner)
Construct a  
JSpinner editor that supports displaying
 and editing the value of a SpinnerDateModel
 with a JFormattedTextField. | 
DateEditor(JSpinner spinner,
          String dateFormatPattern)
Construct a  
JSpinner editor that supports displaying
 and editing the value of a SpinnerDateModel
 with a JFormattedTextField. | 
DefaultEditor(JSpinner spinner)
Constructs an editor component for the specified  
JSpinner. | 
ListEditor(JSpinner spinner)
Construct a  
JSpinner editor that supports displaying
 and editing the value of a SpinnerListModel
 with a JFormattedTextField. | 
NumberEditor(JSpinner spinner)
Construct a  
JSpinner editor that supports displaying
 and editing the value of a SpinnerNumberModel
 with a JFormattedTextField. | 
NumberEditor(JSpinner spinner,
            String decimalFormatPattern)
Construct a  
JSpinner editor that supports displaying
 and editing the value of a SpinnerNumberModel
 with a JFormattedTextField. | 
| Modifier and Type | Field and Description | 
|---|---|
protected JSpinner | 
BasicSpinnerUI.spinner
The spinner that we're a UI delegate for. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.