Liking cljdoc? Tell your friends :D

javax.swing.plaf.basic.BasicSpinnerUI

The default Spinner UI delegate.

The default Spinner UI delegate.
raw docstring

*create-uiclj

(*create-ui c)

Returns a new instance of BasicSpinnerUI. SpinnerListUI delegates are allocated one per JSpinner.

c - the JSpinner (not used) - javax.swing.JComponent

returns: a new BasicSpinnerUI object - javax.swing.plaf.ComponentUI

Returns a new instance of BasicSpinnerUI.  SpinnerListUI
 delegates are allocated one per JSpinner.

c - the JSpinner (not used) - `javax.swing.JComponent`

returns: a new BasicSpinnerUI object - `javax.swing.plaf.ComponentUI`
raw docstring

->basic-spinner-uiclj

(->basic-spinner-ui)

Constructor.

Constructor.
raw docstring

get-baselineclj

(get-baseline this c width height)

Returns the baseline.

c - JComponent baseline is being requested for - javax.swing.JComponent width - the width to get the baseline for - int height - the height to get the baseline for - int

returns: baseline or a value < 0 indicating there is no reasonable baseline - int

throws: java.lang.NullPointerException - if c is null

Returns the baseline.

c - JComponent baseline is being requested for - `javax.swing.JComponent`
width - the width to get the baseline for - `int`
height - the height to get the baseline for - `int`

returns: baseline or a value < 0 indicating there is no reasonable
                  baseline - `int`

throws: java.lang.NullPointerException - if c is null
raw docstring

get-baseline-resize-behaviorclj

(get-baseline-resize-behavior this c)

Returns an enum indicating how the baseline of the component changes as the size changes.

c - JComponent to return baseline resize behavior for - javax.swing.JComponent

returns: an enum indicating how the baseline changes as the component size changes - java.awt.Component$BaselineResizeBehavior

throws: java.lang.NullPointerException - if c is null

Returns an enum indicating how the baseline of the component
 changes as the size changes.

c - JComponent to return baseline resize behavior for - `javax.swing.JComponent`

returns: an enum indicating how the baseline changes as the component
         size changes - `java.awt.Component$BaselineResizeBehavior`

throws: java.lang.NullPointerException - if c is null
raw docstring

install-uiclj

(install-ui this c)

Calls installDefaults, installListeners, and then adds the components returned by createNextButton, createPreviousButton, and createEditor.

c - the JSpinner - javax.swing.JComponent

Calls installDefaults, installListeners,
 and then adds the components returned by createNextButton,
 createPreviousButton, and createEditor.

c - the JSpinner - `javax.swing.JComponent`
raw docstring

uninstall-uiclj

(uninstall-ui this c)

Calls uninstallDefaults, uninstallListeners, and then removes all of the spinners children.

c - the JSpinner (not used) - javax.swing.JComponent

Calls uninstallDefaults, uninstallListeners,
 and then removes all of the spinners children.

c - the JSpinner (not used) - `javax.swing.JComponent`
raw docstring

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

× close