propertyManager
Class EditableBooleanProperty

java.lang.Object
  extended by propertyManager.ReadableProperty
      extended by propertyManager.EditableProperty
          extended by propertyManager.EditableComboProperty
              extended by propertyManager.EditableBooleanProperty
All Implemented Interfaces:
java.io.Serializable

public class EditableBooleanProperty
extends EditableComboProperty

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class propertyManager.ReadableProperty
ReadableProperty.SubPropertyChangeListener
 
Field Summary
private static long serialVersionUID
           
 
Fields inherited from class propertyManager.EditableProperty
validator
 
Fields inherited from class propertyManager.ReadableProperty
defaultValue, value
 
Constructor Summary
EditableBooleanProperty(java.lang.String ID, java.lang.String name)
           
 
Method Summary
 void addComboItem(java.lang.String text, java.lang.Object value)
           
 java.lang.Boolean getBooleanValue()
           
 boolean isSelected()
          This is a convenience method that
 void setDefaultValue(boolean b)
          Sets the default value of the boolean property
 void setValue(boolean b)
          Sets the current value of the boolean property
 
Methods inherited from class propertyManager.EditableComboProperty
getComboItemNames, getCustomPropertyDescriptor, getDefaultValue, getText, getValue, hasDynamicPropertyDescriptor, hasText, hasValue, removeAllComboItems, removeComboItem, setDefaultValue, setIndex, setValue, setValueByName
 
Methods inherited from class propertyManager.EditableProperty
getValidator, setUnderlyingValue, setValidator
 
Methods inherited from class propertyManager.ReadableProperty
addPropertyChangeListener, getID, getName, getPropertyDescriptor, getSubPropertyManager, getUnderlyingDefaultValue, getUnderlyingValue, hasDefaultValue, hasSubProperties, hasValue, notifyPropertyChangeListeners, removePropertyChangeListener, setCategory, setLabelProvider, setSubPropertyManager, setUnderlyingDefaultValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

EditableBooleanProperty

public EditableBooleanProperty(java.lang.String ID,
                               java.lang.String name)
Method Detail

addComboItem

public void addComboItem(java.lang.String text,
                         java.lang.Object value)
Overrides:
addComboItem in class EditableComboProperty
value - The value to be returned when the user selects the given name Note: avoids duplicates

setDefaultValue

public void setDefaultValue(boolean b)
Sets the default value of the boolean property

Parameters:
b - The new default value

setValue

public void setValue(boolean b)
Sets the current value of the boolean property

Parameters:
b - The new value

getBooleanValue

public java.lang.Boolean getBooleanValue()
Returns:
The boolean value of the property

isSelected

public boolean isSelected()
This is a convenience method that

Returns:
the primative value of the property