|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.AWTEventMulticaster
com.ptc.windchill.upgrade.util.fsm.StateMachineEventMulticaster
Field Summary |
Fields inherited from class java.awt.AWTEventMulticaster |
a, b |
Constructor Summary | |
protected |
StateMachineEventMulticaster(StateMachineListener a,
StateMachineListener b)
Constructor to support multicast events. |
Method Summary | |
static StateMachineListener |
add(StateMachineListener a,
StateMachineListener b)
Add new listener to support multicast events. |
protected static EventListener |
addInternal(EventListener a,
EventListener b)
Add new listener to support multicast events. |
void |
eventEnabledStateEvaluationError(Throwable throwable)
Invoked whenever an unexpected error occurs trying to determine the enabled state of any of the events types in the state machine. |
void |
eventHandlingError(Event event,
Throwable throwable)
Invoked whenever an unexpected error occurs running an action in response to an event. |
void |
eventTypeEnabledStateChanged(EventType event_type,
boolean is_enabled)
Invoked whenever the StateMachine figures out that events of a particular EventType become enabled or disabled. |
void |
postStateActivate(State state)
Invoked just after activating a state. |
void |
postStateDeactivate(State state)
Invoked just after de-activating a state. |
void |
preStateActivate(State state)
Invoked just prior to activating a state. |
void |
preStateDeactivate(State state)
Invoked just prior to de-activating a state. |
protected EventListener |
remove(StateMachineListener oldl)
|
static StateMachineListener |
remove(StateMachineListener l,
StateMachineListener oldl)
Remove listener to support multicast events. |
void |
stateMachineStopped()
Invoked when the StateMachine transitions to a stop state. |
Methods inherited from class java.awt.AWTEventMulticaster |
actionPerformed, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, adjustmentValueChanged, ancestorMoved, ancestorResized, caretPositionChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getListeners, hierarchyChanged, inputMethodTextChanged, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeInternal, save, saveInternal, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected StateMachineEventMulticaster(StateMachineListener a, StateMachineListener b)
a
- EventListenerb
- EventListenerMethod Detail |
public static StateMachineListener add(StateMachineListener a, StateMachineListener b)
protected static EventListener addInternal(EventListener a, EventListener b)
a
- EventListenerb
- EventListener
protected EventListener remove(StateMachineListener oldl)
public static StateMachineListener remove(StateMachineListener l, StateMachineListener oldl)
public void preStateActivate(State state)
StateMachineListener
preStateActivate
in interface StateMachineListener
public void postStateActivate(State state)
StateMachineListener
postStateActivate
in interface StateMachineListener
public void preStateDeactivate(State state)
StateMachineListener
preStateDeactivate
in interface StateMachineListener
public void postStateDeactivate(State state)
StateMachineListener
postStateDeactivate
in interface StateMachineListener
public void eventHandlingError(Event event, Throwable throwable)
StateMachineListener
eventHandlingError
in interface StateMachineListener
public void eventEnabledStateEvaluationError(Throwable throwable)
StateMachineListener
eventEnabledStateEvaluationError
in interface StateMachineListener
public void eventTypeEnabledStateChanged(EventType event_type, boolean is_enabled)
StateMachineListener
eventTypeEnabledStateChanged
in interface StateMachineListener
public void stateMachineStopped()
StateMachineListener
stateMachineStopped
in interface StateMachineListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |