net.sourceforge.aqueduct
Interface StateEventListener<T extends InputSource>

Type Parameters:
T - The type of InputSource object used by State objects that fire events that this object receives

public interface StateEventListener<T extends InputSource>

Interface to be used by objects wishing to be notified when one or more given states encounters a transition event.

Author:
keith

Method Summary
 void onEnterState(StateEvent<T> stateEvent)
          Fired when a StateMachine transitions to a listened-to State.
 void onExitState(StateEvent<T> stateEvent)
          Fired when a StateMachine transitions away from a listened-to State.
 

Method Detail

onEnterState

void onEnterState(StateEvent<T> stateEvent)
Fired when a StateMachine transitions to a listened-to State.

Parameters:
stateEvent -

onExitState

void onExitState(StateEvent<T> stateEvent)
Fired when a StateMachine transitions away from a listened-to State.

Parameters:
stateEvent -


Copyright © 2008. All Rights Reserved.