Liking cljdoc? Tell your friends :D

javax.swing.JSpinner$ListEditor

An editor for a JSpinner whose model is a SpinnerListModel.

An editor for a JSpinner whose model is a
SpinnerListModel.
raw docstring

->list-editorclj

(->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
raw docstring

get-modelclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close