org.escot
Interface BooleanProperty
- All Superinterfaces:
- EscotFeature
- All Known Implementing Classes:
- BasicBoolean
- public interface BooleanProperty
- extends EscotFeature
A boolean data type which supports change notification.
getBooleanValue
public Boolean getBooleanValue()
- gets the value of this boolean property
- Returns:
- the value of this boolean property
addChangeListener
public void addChangeListener(ChangeListener l)
- adds a change listener to this boolean, to be notified when the boolean changes
- Parameters:
l - a ChangeListener that wants to be notified of changes to this
NumberProperty
removeChangeListener
public void removeChangeListener(ChangeListener l)
- removes a change listener to this boolean
- Parameters:
l - a ChangeListener that no longer wants to listen to change events
from this NumberProperty
toString
public String toString()
- converts the boolean to a String representation
- Overrides:
toString in class Object
- Returns:
- the value of the boolean in String format