API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.colorchooser. ColorSelectionModel View Source
Author(s)
Steve Wilson
Since
Version
1.12 11/17/05
Serial
Hierarchy
 ColorSelectionModel
Subinterfaces
Description
public interface ColorSelectionModel
  A model that supports selecting a Color.
See also:    Color
Methods
Hide/Show inherited methods
public void addChangeListener (ChangeListener listener)
  Adds listener as a listener to changes in the model.
public Color getSelectedColor ()
  Returns the selected Color which should be non-null.
public void removeChangeListener (ChangeListener listener)
  Removes listener as a listener to changes in the model.
public void setSelectedColor (Color color)
  Sets the selected color to color.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar