com.sdm.quasar.client.core.states
Interface BooleanState

All Superinterfaces:
Disposable, State
All Known Implementing Classes:
AbstractBooleanState, ActionEnabledBooleanState, ButtonModelSelectedBooleanState, DocumentTextAcceptedBooleanState, JComponentEnabledBooleanState, ListModelSelectedBooleanState, NOTBooleanState, ThresholdCounterBooleanState, TreeModelSelectedBooleanState, ValueAcceptedBooleanState, WrapperBooleanState

public interface BooleanState
extends State

A boolean State interface. The state value will be of the type Boolean.

A BooleanState instance represents some boolean state of an object or component, like getBusyState() would return a BooleanState signaling, that the providing component is busy or not. If the state changes it's value, it notifies this to registered StateListeners.

Version:
1.0
Author:
Thomas Wolf

Method Summary
 boolean isValueTrue()
          Returns true, if this State is enabled, false otherwise.
 
Methods inherited from interface com.sdm.quasar.client.core.states.State
addStateListener, getName, getValue, removeStateListener, setName
 
Methods inherited from interface com.sdm.quasar.client.core.common.Disposable
dispose
 

Method Detail

isValueTrue

public boolean isValueTrue()
Returns true, if this State is enabled, false otherwise.

Returns:
true, if this State is enabled, false otherwise.