henplus.property
Class BooleanPropertyHolder
java.lang.Object
henplus.property.PropertyHolder
henplus.property.EnumeratedPropertyHolder
henplus.property.BooleanPropertyHolder
- Direct Known Subclasses:
- EchoCommandProperty
public abstract class BooleanPropertyHolder
- extends EnumeratedPropertyHolder
A boolean property.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanPropertyHolder
public BooleanPropertyHolder()
BooleanPropertyHolder
public BooleanPropertyHolder(boolean initialValue)
enumeratedPropertyChanged
protected final void enumeratedPropertyChanged(int index,
String value)
throws Exception
- Description copied from class:
EnumeratedPropertyHolder
- to be overridden to get informed of the change and veto
it.
- Specified by:
enumeratedPropertyChanged
in class EnumeratedPropertyHolder
- Parameters:
index
- the index of the property that changedvalue
- the new value of that property
- Throws:
Exception
- to veto that change.
booleanPropertyChanged
public abstract void booleanPropertyChanged(boolean newValue)
throws Exception
- to be overridden to get informed of the boolean change. Throw
an Exception if this change is not possible.
- Throws:
Exception
? 1997..2006 Henner Zeller