|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Event
The core methods related to event handling. Events used in this way exist to gather data from user code, by invoking
user methods and capturing the response. Return values from methods, if non-null, are passed to a ComponentEventCallback
. The ComponentEvent
subinterface extends this by providing
access to a context, or set of information related to the event, along with additional data used, at runtime, to
match events to user code methods.
Method Summary | |
---|---|
boolean |
isAborted()
Returns true if the event has been aborted (meaning that the return value from some event handler method was accepted, and processing of the event was terminated). |
void |
setMethodDescription(String methodDescription)
Invoke to identify, to the event, what component and method is being acted upon (used for some kinds of exception reporting). |
boolean |
storeResult(Object result)
Stores a result for the event. |
Method Detail |
---|
boolean isAborted()
void setMethodDescription(String methodDescription)
methodDescription
- describes the location (i.e. file name, method name and line number) of the methodboolean storeResult(Object result)
ComponentEventCallback
).
result
- the result obtained from a method invocations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |