|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.ibm.aglet.event.AgletEvent | +--com.ibm.aglet.system.ContextEvent
Context level event
Field Summary | |
static int |
ACTIVATED
The ACTIVATED event type is delivered when an aglet is activated. |
protected AgletProxy |
agletproxy
AgletProxy proxy |
java.lang.Object |
arg
Arbitary arguments |
static int |
ARRIVED
The ARRIVED event type is delivered when an aglet is arrived at the context. |
static int |
CLONED
The CLONED event type is delivered when an aglet is cloned. |
static int |
CONTEXT_FIRST
Marks the first integer id for the range of context event ids. |
static int |
CONTEXT_LAST
Marks the last integer id for the range of context event ids. |
static int |
CREATED
The CREATED event type is delivered when an aglet is created. |
static int |
DEACTIVATED
The DEACTIVATED event type is delivered when an aglet is deactivated |
static int |
DISPATCHED
The DISPATCHED event type is delivered when an aglet is dispatched. |
static int |
DISPOSED
The DISPOSED event type is delivered when an aglet is disposed. |
static int |
MESSAGE
The MESSAGE event type is delivered when an context tries to show an message. |
static int |
NO_RESPONSE
Not used. |
static int |
RESUMED
The RESUMED event type is delivered when an aglet is resumed. |
static int |
REVERTED
The DISPATCHED event type is delivered when an aglet is retracted. |
static int |
SHOW_DOCUMENT
The SHOW_DOCUMENT event type is delivered when an aglet requests to show an document specified by the URL. |
static int |
SHUTDOWN
The STARTED event type is delivered when the context is being shutting down. |
static int |
STARTED
The STARTED event type is delivered when the aglet is started. |
static int |
STATE_CHANGED
The STATE_CHANGED event type is delivered when the state of an aglet has been changed. |
static int |
SUSPENDED
The SUSPENDED event type is delivered when an aglet is suspended |
Fields inherited from class com.ibm.aglet.event.AgletEvent |
id |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ContextEvent(int id,
java.lang.Object context,
AgletProxy target)
Constructs an ContextEvent with id. |
|
ContextEvent(int id,
java.lang.Object context,
AgletProxy target,
java.lang.Object arg)
Constructs an ContextEvent with id. |
Method Summary | |
AgletContext |
getAgletContext()
Gets AgletContext object of this event |
AgletProxy |
getAgletProxy()
Gets AgletProxy object of this event null if the event is STARTED or STOPPED |
java.net.URL |
getDocumentURL()
Gets the document URL. |
java.lang.String |
getMessage()
Gets the message to show |
java.lang.String |
getText()
|
java.lang.String |
toString()
|
Methods inherited from class com.ibm.aglet.event.AgletEvent |
getID |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CONTEXT_FIRST
public static final int CONTEXT_LAST
public static final int STARTED
aglet.AgletContext#start
public static final int SHUTDOWN
aglet.AgletContext#shutdown
public static final int CREATED
aglet.AgletContext#createAglet
public static final int CLONED
aglet.Aglet#clone
public static final int DISPOSED
aglet.Aglet#dispose
public static final int DISPATCHED
aglet.Aglet#dispatch
public static final int REVERTED
aglet.AgletContext#retractAglet
public static final int ARRIVED
public static final int DEACTIVATED
aglet.Aglet#deactivate
public static final int SUSPENDED
aglet.Aglet#deactivate
public static final int ACTIVATED
aglet.Aglet#activate
public static final int RESUMED
aglet.Aglet#resume
public static final int STATE_CHANGED
public static final int SHOW_DOCUMENT
aglet.AgletContext#showDocument
public static final int MESSAGE
public static final int NO_RESPONSE
protected AgletProxy agletproxy
public java.lang.Object arg
Constructor Detail |
public ContextEvent(int id, java.lang.Object context, AgletProxy target)
public ContextEvent(int id, java.lang.Object context, AgletProxy target, java.lang.Object arg)
Method Detail |
public AgletContext getAgletContext()
public AgletProxy getAgletProxy()
public java.net.URL getDocumentURL()
public java.lang.String getMessage()
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |