com.wirefusion.propertyeditor
Class ColorPropertyEditor

java.lang.Object
  extended by com.wirefusion.propertyeditor.WfPropertyEditor
      extended by com.wirefusion.propertyeditor.ColorPropertyEditor

public class ColorPropertyEditor
extends WfPropertyEditor

This editor is intended for use with color properties.


Field Summary
 
Fields inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
LEFT_POSITION, TOP_POSITION
 
Constructor Summary
ColorPropertyEditor(java.lang.String propertyId, java.lang.String label, java.awt.Color color)
          Constructs a ColorPropertyEditor object.
 
Method Summary
 void setEnabled(boolean enabled)
          Enables or disables this component, depending on the value of the parameter enabled.
 
Methods inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
addPropertyChangeListener, firePropertyChange, getEditor, getInfoString, getPropertyId, isEnabled, removePropertyChangeListener, setLabelPosition, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPropertyEditor

public ColorPropertyEditor(java.lang.String propertyId,
                           java.lang.String label,
                           java.awt.Color color)
Constructs a ColorPropertyEditor object.

Parameters:
propertyId - the property ID
label - the label
color - the color property
Method Detail

setEnabled

public void setEnabled(boolean enabled)
Description copied from class: WfPropertyEditor
Enables or disables this component, depending on the value of the parameter enabled. If disabled, the ditor does not respond to user input. All subclasses of this class may not support being disabled.

Overrides:
setEnabled in class WfPropertyEditor
Parameters:
enabled - If true, this editor is enabled; otherwise the editor is disabled.