com.sdm.quasar.client.core.states
Class MutableState

java.lang.Object
  extended bycom.sdm.quasar.client.core.states.AbstractState
      extended bycom.sdm.quasar.client.core.states.MutableState
All Implemented Interfaces:
Disposable, State

public class MutableState
extends AbstractState
implements State


Constructor Summary
MutableState(java.lang.Object initialValue)
           
MutableState(java.lang.String name, java.lang.Object initialValue)
           
 
Method Summary
 java.lang.Object getValue()
           
 void setValue(java.lang.Object newValue)
           
 
Methods inherited from class com.sdm.quasar.client.core.states.AbstractState
addStateListener, appendParametersToString, dispose, fireStateChanged, getName, removeStateListener, setName, stateValueToString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sdm.quasar.client.core.states.State
addStateListener, getName, removeStateListener, setName
 
Methods inherited from interface com.sdm.quasar.client.core.common.Disposable
dispose
 

Constructor Detail

MutableState

public MutableState(java.lang.Object initialValue)

MutableState

public MutableState(java.lang.String name,
                    java.lang.Object initialValue)
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface State
Returns:
the current state value.

setValue

public void setValue(java.lang.Object newValue)