javax.swing
public static class JSpinner.ListEditor extends JSpinner.DefaultEditor
JSpinner editor used for the {@link SpinnerListModel}.
This editor uses a JFormattedTextField to edit the values
of the spinner.
| Constructor Summary | |
|---|---|
| ListEditor(JSpinner spinner)
Creates a new instance of ListEditor.
| |
| Method Summary | |
|---|---|
| SpinnerListModel | getModel()
Returns the spinner's model cast as a {@link SpinnerListModel}.
|
ListEditor.
Parameters: spinner the spinner for which this editor is used
Returns: The spinner's model.