com.wirefusion.propertyeditor
Class BooleanPropertyEditor

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

public class BooleanPropertyEditor
extends WfPropertyEditor

This editor is intended for use with boolean properties. The "selected" state is associated with the value true, the "deselected" with false. A JComboBox is used as editor component.


Field Summary
 
Fields inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
LEFT_POSITION, TOP_POSITION
 
Constructor Summary
BooleanPropertyEditor(java.lang.String propertyId, java.lang.String label, boolean selected)
          Constructs a BooleanPropertyEditor object.
 
Method Summary
 
Methods inherited from class com.wirefusion.propertyeditor.WfPropertyEditor
addPropertyChangeListener, firePropertyChange, getEditor, getInfoString, getPropertyId, isEnabled, removePropertyChangeListener, setEnabled, setLabelPosition, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanPropertyEditor

public BooleanPropertyEditor(java.lang.String propertyId,
                             java.lang.String label,
                             boolean selected)
Constructs a BooleanPropertyEditor object.

Parameters:
propertyId - the property ID
label - the label
selected - true if the state should be selected, otherwise false