The ToggleButton model
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
The ToggleButton model Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
(->toggle-button-model)
Constructor.
Creates a new ToggleButton Model
Constructor. Creates a new ToggleButton Model
(selected? this)
Checks if the button is selected.
returns: true if the button is selected - boolean
Checks if the button is selected. returns: true if the button is selected - `boolean`
(set-pressed this b)
Sets the pressed state of the toggle button.
b - whether or not the button should be pressed - boolean
Sets the pressed state of the toggle button. b - whether or not the button should be pressed - `boolean`
(set-selected this b)
Sets the selected state of the button.
b - true selects the toggle button, false deselects the toggle button. - boolean
Sets the selected state of the button. b - true selects the toggle button, false deselects the toggle button. - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close