|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.dpml.state.StateEvent
public class StateEvent
Event triggered as a result of a state change.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
StateEvent(java.lang.Object source,
State from,
State to)
Construct a new StateEvent . |
Method Summary | |
---|---|
State |
getFromState()
Return the state that existed prior to the transition. |
State |
getToState()
Return the state that was established by a transition. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateEvent(java.lang.Object source, State from, State to)
StateEvent
.
source
- the source compoent modelfrom
- the originating stateto
- the new current stateMethod Detail |
---|
public State getFromState()
public State getToState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |