All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.adaptor.generic.AdaptorStateChangeEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sun.jaw.impl.adaptor.generic.AdaptorStateChangeEvent
- public class AdaptorStateChangeEvent
- extends EventObject
- implements Serializable
-
AdaptorStateChangeEvent(AdaptorServer, int, int)
- Create a new event.
-
getNewState()
- Get the state of the adaptor after the state change (new state).
-
getOldState()
- Get the state of the adaptor prior to the state change (old state).
AdaptorStateChangeEvent
public AdaptorStateChangeEvent(AdaptorServer source,
int oldState,
int newState)
- Create a new event.
- Parameters:
- source - the adaptor which has emitted the event.
- oldState - old state.
- newState - new state.
getOldState
public int getOldState()
- Get the state of the adaptor prior to the state change (old state).
getNewState
public int getNewState()
- Get the state of the adaptor after the state change (new state).
All Packages Class Hierarchy This Package Previous Next Index