|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.colorchooser
as colored differences. Deletions are shownlike 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.
This is the abstract superclass for color choosers. If you want to add a new color chooser panel into aClass AbstractColorChooserPanel, Icon getLargeDisplayIcon()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.
AAsfuture releaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.13 0218 12/0203/0001 @author Tom Santos @author Steve Wilson
Returns theClass AbstractColorChooserPanel, Icon getSmallDisplayIcon()smalllarge display icon for the panel. @return thesmalllarge display icon
Returns theClass AbstractColorChooserPanel, void installChooserPanel(JColorChooser)largesmall display icon for the panel. @return thelargesmall display icon
Invoked when the panel is added to the chooser. If youClass AbstractColorChooserPanel, void uninstallChooserPanel(JColorChooser)'regoing tooverride this be sure to callsuper
. @param enclosingChooser the panel to be added @exception RuntimeException if the chooser panel has already been installed
Invoked when the panel is removed from the chooser. Ifyou're going tooverride this be sure to callsuper
.
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.13 0215 12/0203/0001 @author Steve Wilson
A model that supports selecting aClass ColorSelectionModel, void addChangeListener(ChangeListener)Color
. @version 1.7 029 12/0203/0001 @author Steve Wilson @see java.awt.Color
AddsClass ColorSelectionModel, Color getSelectedColor()listener
as a listener to changes in the model. @param listener theChangeListener
to be added
Returns the selectedClass ColorSelectionModel, void removeChangeListener(ChangeListener)Color
which should be non-null
. @return themodel'sselectedselection.Color
@see #setSelectedColor
RemovesClass ColorSelectionModel, void setSelectedColor(Color)listener
as a listener to changes in the model. @param listener theChangeListener
to be removed
Sets themodel'sselected color tocolor
. Note that setting the color tonull
is undefined and may have unpredictable results.NotifiesThis method firesany listenersa state changed event if it sets the current color to a new non-null
color. @param color themodelnewchangesColor
@see #getSelectedColor @see #addChangeListener
A generic implementation ofClass DefaultColorSelectionModel, constructor DefaultColorSelectionModel()ColorSelectionModel
. @version 1.10 0213 12/0203/0001 @author Steve Wilson @see java.awt.Color
Class DefaultColorSelectionModel, constructor DefaultColorSelectionModel(Color)DefaultCreatesconstructor.aDefaultColorSelectionModel
withInitializes selectedColorthe current color set toColor.white
. This is the default constructor.
Class DefaultColorSelectionModel, void addChangeListener(ChangeListener)Initializes selectedColorCreates aDefaultColorSelectionModel
with the current color set tocolor
which should be non-null
. Note that setting the color tonull
is undefined and may have unpredictable results. @param color the newColor
Adds aClass DefaultColorSelectionModel, void fireStateChanged()ChangeListener
to the model. @param l theChangeListener
to be added
Class DefaultColorSelectionModel, void removeChangeListener(ChangeListener)RunRuns eachChangeListenersChangeListener
'sstateChanged
method. <-- @see #setRangeProperties //bad link--> @see EventListenerList()
Removes aClass DefaultColorSelectionModel, ChangeEvent changeEventChangeListener
from the model. @param l theChangeListener
to be removed
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".