propertyManager
Class EditableBooleanProperty
java.lang.Object
propertyManager.ReadableProperty
propertyManager.EditableProperty
propertyManager.EditableComboProperty
propertyManager.EditableBooleanProperty
- All Implemented Interfaces:
- java.io.Serializable
public class EditableBooleanProperty
- extends EditableComboProperty
- See Also:
- Serialized Form
|
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.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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
EditableBooleanProperty
public EditableBooleanProperty(java.lang.String ID,
java.lang.String name)
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