Liking cljdoc? Tell your friends :D

javax.swing.colorchooser.ColorSelectionModel

A model that supports selecting a Color.

A model that supports selecting a Color.
raw docstring

add-change-listenerclj

(add-change-listener this listener)

Adds listener as a listener to changes in the model.

listener - the ChangeListener to be added - javax.swing.event.ChangeListener

Adds listener as a listener to changes in the model.

listener - the ChangeListener to be added - `javax.swing.event.ChangeListener`
raw docstring

get-selected-colorclj

(get-selected-color this)

Returns the selected Color which should be non-null.

returns: the selected Color - java.awt.Color

Returns the selected Color which should be
 non-null.

returns: the selected Color - `java.awt.Color`
raw docstring

remove-change-listenerclj

(remove-change-listener this listener)

Removes listener as a listener to changes in the model.

listener - the ChangeListener to be removed - javax.swing.event.ChangeListener

Removes listener as a listener to changes in the model.

listener - the ChangeListener to be removed - `javax.swing.event.ChangeListener`
raw docstring

set-selected-colorclj

(set-selected-color this color)

Sets the selected color to color. Note that setting the color to null is undefined and may have unpredictable results. This method fires a state changed event if it sets the current color to a new non-null color.

color - the new Color - java.awt.Color

Sets the selected color to color.
 Note that setting the color to null
 is undefined and may have unpredictable results.
 This method fires a state changed event if it sets the
 current color to a new non-null color.

color - the new Color - `java.awt.Color`
raw docstring

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

× close