public interface Event
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.Modifier and Type | Method and Description |
---|---|
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.
|
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 invocations5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.