- All Known Subinterfaces:
public interface EventThe 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
ComponentEventsubinterface 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.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
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).
setMethodDescription(String methodDescription)Invoke to identify, to the event, what component and method is being acted upon (used for some kinds of exception reporting).
storeResult(Object result)Stores a result for the event.
- true if no further event handler methods should be invoked
void setMethodDescription(String methodDescription)
methodDescription- describes the location (i.e. file name, method name and line number) of the method