Package org.zkoss.zk.ui.sys
Interface ExecutionInfo
public interface ExecutionInfo
The information about the event being served by the current execution.
- Since:
- 5.0.6
- Author:
- tomyeh
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetEvent()Returns the event being served (never null).EventListener<? extends Event>Returns the listener that serves the event, or null if it is served by a method (getEventMethod()), or a zscript (getEventZScript()).Returns the method that serves the event, or null if it is served by a listener (getEventListener()), or a zscript (getEventZScript()).Returns the zscript that serves the event, or null if it is served by a listener (getEventListener()), or a method (getEventMethod()).Returns the thread serving the event.
-
Method Details
-
getThread
Thread getThread()Returns the thread serving the event. -
getEvent
Event getEvent()Returns the event being served (never null).Notice: don't change the state of any UI objects (such as components and desktops) since they might belong to other
-
getEventMethod
Method getEventMethod()Returns the method that serves the event, or null if it is served by a listener (getEventListener()), or a zscript (getEventZScript()). -
getEventListener
EventListener<? extends Event> getEventListener()Returns the listener that serves the event, or null if it is served by a method (getEventMethod()), or a zscript (getEventZScript()). -
getEventZScript
ZScript getEventZScript()Returns the zscript that serves the event, or null if it is served by a listener (getEventListener()), or a method (getEventMethod()).- Since:
- 5.0.8
-