org.eclipse.net4j.util.fsm
Class FiniteStateMachine.StateChangedEvent

java.lang.Object
  extended by org.eclipse.net4j.util.fsm.FiniteStateMachine.StateChangedEvent
All Implemented Interfaces:
IEvent
Enclosing class:
FiniteStateMachine<STATE extends Enum<?>,EVENT extends Enum<?>,SUBJECT>

public class FiniteStateMachine.StateChangedEvent
extends Object
implements IEvent


Constructor Summary
FiniteStateMachine.StateChangedEvent(Object subject, Enum<?> oldState, Enum<?> newState)
           
 
Method Summary
 Enum<?> getNewState()
           
 Enum<?> getOldState()
           
 INotifier getSource()
           
 Object getSubject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FiniteStateMachine.StateChangedEvent

public FiniteStateMachine.StateChangedEvent(Object subject,
                                            Enum<?> oldState,
                                            Enum<?> newState)
Method Detail

getSource

public INotifier getSource()
Specified by:
getSource in interface IEvent

getSubject

public Object getSubject()

getOldState

public Enum<?> getOldState()

getNewState

public Enum<?> getNewState()


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.