Liking cljdoc? Tell your friends :D

javax.swing.colorchooser.DefaultColorSelectionModel

A generic implementation of ColorSelectionModel.

A generic implementation of ColorSelectionModel.
raw docstring

->default-color-selection-modelclj

(->default-color-selection-model)
(->default-color-selection-model color)

Constructor.

Creates a DefaultColorSelectionModel with the current color set to color, which should be non-null. Note that setting the color to null is undefined and may have unpredictable results.

color - the new Color - java.awt.Color

Constructor.

Creates a DefaultColorSelectionModel with the
 current color set to color, which should be
 non-null.  Note that setting the color to
 null is undefined and may have unpredictable
 results.

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

add-change-listenerclj

(add-change-listener this l)

Adds a ChangeListener to the model.

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

Adds a ChangeListener to the model.

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

get-change-listenersclj

(get-change-listeners this)

Returns an array of all the ChangeListeners added to this DefaultColorSelectionModel with addChangeListener.

returns: all of the ChangeListeners added, or an empty array if no listeners have been added - javax.swing.event.ChangeListener[]

Returns an array of all the ChangeListeners added
 to this DefaultColorSelectionModel with
 addChangeListener.

returns: all of the ChangeListeners added, or an empty
         array if no listeners have been 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 l)

Removes a ChangeListener from the model.

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

Removes a ChangeListener from the model.

l - 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; if the new color is the same as the current color, no event is fired.

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;
 if the new color is the same as the current color,
 no event is fired.

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

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

× close