An editor for a JSpinner whose model is a SpinnerListModel.
An editor for a JSpinner whose model is a SpinnerListModel.
(->list-editor spinner)
Constructor.
Construct a JSpinner editor that supports displaying and editing the value of a SpinnerListModel with a JFormattedTextField. This ListEditor becomes both a ChangeListener on the spinner and a PropertyChangeListener on the new JFormattedTextField.
spinner - the spinner whose model this editor will monitor - javax.swing.JSpinner
throws: java.lang.IllegalArgumentException - if the spinners model is not an instance of SpinnerListModel
Constructor. Construct a JSpinner editor that supports displaying and editing the value of a SpinnerListModel with a JFormattedTextField. This ListEditor becomes both a ChangeListener on the spinner and a PropertyChangeListener on the new JFormattedTextField. spinner - the spinner whose model this editor will monitor - `javax.swing.JSpinner` throws: java.lang.IllegalArgumentException - if the spinners model is not an instance of SpinnerListModel
(get-model this)
Return our spinner ancestor's SpinnerNumberModel.
returns: getSpinner().getModel() - javax.swing.SpinnerListModel
Return our spinner ancestor's SpinnerNumberModel. returns: getSpinner().getModel() - `javax.swing.SpinnerListModel`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close