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

Constructor Index

 o AdaptorStateChangeEvent(AdaptorServer, int, int)
Create a new event.

Method Index

 o getNewState()
Get the state of the adaptor after the state change (new state).
 o getOldState()
Get the state of the adaptor prior to the state change (old state).

Constructors

 o 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.

Methods

 o getOldState
 public int getOldState()
Get the state of the adaptor prior to the state change (old state).

 o 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