com.extjs.gxt.ui.client.event
Class StateEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.StateEvent

public class StateEvent
extends BaseEvent

StateManager event type.

Note: For a given event, only the fields which are appropriate will be filled in. The appropriate fields for each event are documented by the event source.

See Also:
StateManager

Constructor Summary
StateEvent(StateManager manager)
          Creates a new state event.
StateEvent(StateManager manager, java.lang.String name, java.lang.Object value)
          Creates a new state event.
 
Method Summary
 StateManager getManager()
          Returns the state manager.
 java.lang.String getName()
          Returns the name.
 java.lang.Object getValue()
          Returns the value.
 void setManager(StateManager manager)
          Sets the state manager.
 void setName(java.lang.String name)
          Sets the name.
 void setValue(java.lang.Object value)
          Sets the value.
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateEvent

public StateEvent(StateManager manager)
Creates a new state event.

Parameters:
manager - the source manager

StateEvent

public StateEvent(StateManager manager,
                  java.lang.String name,
                  java.lang.Object value)
Creates a new state event.

Parameters:
manager - the source manager
name - the property name
value - the property value
Method Detail

getManager

public StateManager getManager()
Returns the state manager.

Returns:
the state manager

getName

public java.lang.String getName()
Returns the name.

Returns:
the name

getValue

public java.lang.Object getValue()
Returns the value.

Returns:
the value

setManager

public void setManager(StateManager manager)
Sets the state manager.

Parameters:
manager - the state manager

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the name

setValue

public void setValue(java.lang.Object value)
Sets the value.

Parameters:
value - the value