Generated by
JDiff

javax.swing.colorchooser Documentation Differences

This file contains all the changes in documentation in the package javax.swing.colorchooser as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AbstractColorChooserPanel

This is the abstract superclass for color choosers. If you want to add a new color chooser panel into a JColorChooser subclass this class.

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. AAs future release of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.13 0218 12/0203/0001 @author Tom Santos @author Steve Wilson

Class AbstractColorChooserPanel, Icon getLargeDisplayIcon()

Returns the smalllarge display icon for the panel. @return the smalllarge display icon
Class AbstractColorChooserPanel, Icon getSmallDisplayIcon()

Returns the largesmall display icon for the panel. @return the largesmall display icon
Class AbstractColorChooserPanel, void installChooserPanel(JColorChooser)

Invoked when the panel is added to the chooser. If you're going to override this be sure to call super. @param enclosingChooser the panel to be added @exception RuntimeException if the chooser panel has already been installed
Class AbstractColorChooserPanel, void uninstallChooserPanel(JColorChooser)

Invoked when the panel is removed from the chooser. If you're going to override this be sure to call super.

Class ColorChooserComponentFactory

A class designed to produce preconfigured "accessory" objects to insert into color choosers.

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. A future releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.13 0215 12/0203/0001 @author Steve Wilson


Class ColorSelectionModel

A model that supports selecting a Color. @version 1.7 029 12/0203/0001 @author Steve Wilson @see java.awt.Color
Class ColorSelectionModel, void addChangeListener(ChangeListener)

Adds listener as a listener to changes in the model. @param listener the ChangeListener to be added
Class ColorSelectionModel, Color getSelectedColor()

Returns the selected Color which should be non-null. @return the model'sselected selection.Color @see #setSelectedColor
Class ColorSelectionModel, void removeChangeListener(ChangeListener)

Removes listener as a listener to changes in the model. @param listener the ChangeListener to be removed
Class ColorSelectionModel, void setSelectedColor(Color)

Sets the model's selected color to color. Note that setting the color to null is undefined and may have unpredictable results. NotifiesThis method fires any listenersa state changed event if it sets the current color to a new non-null color. @param color the modelnew changesColor @see #getSelectedColor @see #addChangeListener

Class DefaultColorSelectionModel

A generic implementation of ColorSelectionModel. @version 1.10 0213 12/0203/0001 @author Steve Wilson @see java.awt.Color
Class DefaultColorSelectionModel, constructor DefaultColorSelectionModel()

DefaultCreates constructor.a DefaultColorSelectionModel with Initializes selectedColorthe current color set to Color.white. This is the default constructor.
Class DefaultColorSelectionModel, constructor DefaultColorSelectionModel(Color)

Initializes selectedColorCreates 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. @param color the new Color
Class DefaultColorSelectionModel, void addChangeListener(ChangeListener)

Adds a ChangeListener to the model. @param l the ChangeListener to be added
Class DefaultColorSelectionModel, void fireStateChanged()

RunRuns each ChangeListenersChangeListener's stateChanged() method. <-- @see #setRangeProperties //bad link--> @see EventListenerList
Class DefaultColorSelectionModel, void removeChangeListener(ChangeListener)

Removes a ChangeListener from the model. @param l the ChangeListener to be removed
Class DefaultColorSelectionModel, ChangeEvent changeEvent

Only one ChangeEvent is needed per model instance since the event's only (read-only) state is the source property. The source of events generated here is always "this".