Oracle JEWT 4.2.10

oracle.bali.ewt.chooser.color
Interface ColorEditor

All Known Implementing Classes:
BaseColorEditor

public interface ColorEditor

Simple interface used by the Color Chooser Pane that specifies a component that can render a color value.


Field Summary
static java.lang.String PROPERTY_COLOR
          The PropertyName to listen for when the color changes.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Add a PropertyChangeListener to the list of listeners.
 java.awt.Color getColor()
          Get the color displayed in the ColorEditor.
 java.awt.Component getComponent()
          Get the component used to display the ColorEditor
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Remove a PropertyChangeListener to the list of listeners.
 void setColor(java.awt.Color color)
          Set the color displayed in the ColorEditor.
 

Field Detail

PROPERTY_COLOR

public static final java.lang.String PROPERTY_COLOR
The PropertyName to listen for when the color changes.
Method Detail

setColor

public void setColor(java.awt.Color color)
Set the color displayed in the ColorEditor.

getColor

public java.awt.Color getColor()
Get the color displayed in the ColorEditor.

getComponent

public java.awt.Component getComponent()
Get the component used to display the ColorEditor

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener to the list of listeners.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener to the list of listeners.

Oracle JEWT 4.2.10