net.sourceforge.aqueduct
Class StateEvent<T extends InputSource>

java.lang.Object
  extended by net.sourceforge.aqueduct.StateEvent<T>
Type Parameters:
T - The type of InputSource object used by the State that fired this event

public class StateEvent<T extends InputSource>
extends java.lang.Object

Message sent to active StateEventListeners.

Author:
keith

Constructor Summary
StateEvent(State<T> state, T inputSource)
           
 
Method Summary
 T getInputSource()
          The InputSource provided in the state transition during the StateEventListener event.
 State<T> getState()
          The State involved in the StateEventListener event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateEvent

public StateEvent(State<T> state,
                  T inputSource)
Method Detail

getState

public State<T> getState()
The State involved in the StateEventListener event.

Returns:

getInputSource

public T getInputSource()
The InputSource provided in the state transition during the StateEventListener event.

Returns:


Copyright © 2008. All Rights Reserved.