Uses of Interface
org.zkoss.zk.ui.event.EventListener
Packages that use EventListener
Package
Description
-
Uses of EventListener in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return types with arguments of type EventListenerModifier and TypeMethodDescriptionIterable<EventListener<? extends Event>>AbstractComponent.getEventListeners(String evtnm) Iterable<EventListener<? extends Event>>Component.getEventListeners(String evtnm) Returns an iterable collection of the event listeners for the given event.Iterable<EventListener<? extends Event>>Page.getEventListeners(String evtnm) Returns an iterable collection of the event listeners for the given event.Methods in org.zkoss.zk.ui with parameters of type EventListenerModifier and TypeMethodDescriptionbooleanAbstractComponent.addEventListener(int priority, String evtnm, EventListener<? extends Event> listener) booleanAbstractComponent.addEventListener(String evtnm, EventListener<? extends Event> listener) booleanComponent.addEventListener(int priority, String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event name for this component with the given priority.booleanComponent.addEventListener(String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event name for this component.booleanPage.addEventListener(String evtnm, EventListener<? extends Event> listener) Adds an event listener to specified event for all components in this page.booleanAbstractComponent.removeEventListener(String evtnm, EventListener<? extends Event> listener) booleanComponent.removeEventListener(String evtnm, EventListener<? extends Event> listener) Removes an event listener.booleanPage.removeEventListener(String evtnm, EventListener<? extends Event> listener) Removes an event listener.static <T extends Event>
voidExecutions.schedule(Desktop desktop, EventListener<T> task, T event) Schedules a task to run under the server push of the given desktop asynchronously. -
Uses of EventListener in org.zkoss.zk.ui.event
Subinterfaces of EventListener in org.zkoss.zk.ui.eventModifier and TypeInterfaceDescriptioninterfaceCloneableEventListener<T extends Event>A cloneable event listener that will be notified when an event occurs, if it is registered toComponent.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>).interfaceSerializableEventListener<T extends Event>A serializable event listener that will be notified when an event occurs, if it is registered toComponent.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>).Classes in org.zkoss.zk.ui.event that implement EventListenerModifier and TypeClassDescriptionclassGenericEventListener<T extends Event>An abstract event listener that you can extend and write intuitive onXxx event handler methods; this class dispatch event to the implemented onXxx event handler methods automatically.Methods in org.zkoss.zk.ui.event with parameters of type EventListenerModifier and TypeMethodDescriptionbooleanEventQueue.isSubscribed(EventListener<T> listener) Returns if an event listener is subscribed.voidEventQueue.subscribe(EventListener<T> listener) Subscribes a listener to this queue.voidEventQueue.subscribe(EventListener<T> listener, boolean async) Subscribes a synchronous or asynchronous listener to this event queue.voidEventQueue.subscribe(EventListener<T> listener, EventListener<T> callback) Subscribes a synchronous or asynchronous listener to this event queue.booleanEventQueue.unsubscribe(EventListener<T> listener) Unsubscribes a listener from the queue. -
Uses of EventListener in org.zkoss.zk.ui.event.impl
Methods in org.zkoss.zk.ui.event.impl with parameters of type EventListenerModifier and TypeMethodDescriptionbooleanDesktopEventQueue.isSubscribed(EventListener<T> listener) booleanServerPushEventQueue.isSubscribed(EventListener<T> listener) voidDesktopEventQueue.subscribe(EventListener<T> listener) voidDesktopEventQueue.subscribe(EventListener<T> listener, boolean async) voidDesktopEventQueue.subscribe(EventListener<T> listener, EventListener<T> callback) voidServerPushEventQueue.subscribe(EventListener<T> listener) voidServerPushEventQueue.subscribe(EventListener<T> listener, boolean async) voidServerPushEventQueue.subscribe(EventListener<T> listener, EventListener<T> callback) booleanDesktopEventQueue.unsubscribe(EventListener<T> listener) booleanServerPushEventQueue.unsubscribe(EventListener<T> listener) -
Uses of EventListener in org.zkoss.zk.ui.impl
Methods in org.zkoss.zk.ui.impl that return types with arguments of type EventListenerModifier and TypeMethodDescriptionIterable<EventListener<? extends Event>>PageImpl.getEventListeners(String evtnm) Methods in org.zkoss.zk.ui.impl with parameters of type EventListenerModifier and TypeMethodDescriptionbooleanPageImpl.addEventListener(String evtnm, EventListener<? extends Event> listener) booleanPageImpl.removeEventListener(String evtnm, EventListener<? extends Event> listener) <T extends Event>
voidPollingServerPush.schedule(EventListener<T> listener, T event, Scheduler<T> scheduler) <T extends Event>
voidDesktopImpl.scheduleServerPush(EventListener<T> listener, T event) -
Uses of EventListener in org.zkoss.zk.ui.script
Classes in org.zkoss.zk.ui.script that implement EventListenerModifier and TypeClassDescriptionclassA Default Event Listener for handling client javascript error -
Uses of EventListener in org.zkoss.zk.ui.select
Classes in org.zkoss.zk.ui.select that implement EventListener -
Uses of EventListener in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return EventListenerModifier and TypeMethodDescriptionEventListener<? extends Event>ExecutionInfo.getEventListener()Returns the listener that serves the event, or null if it is served by a method (ExecutionInfo.getEventMethod()), or a zscript (ExecutionInfo.getEventZScript()).Methods in org.zkoss.zk.ui.sys with parameters of type EventListenerModifier and TypeMethodDescriptionvoidScheduler.schedule(EventListener<T> task, T event) Schedules the task to execute asynchronously.<T extends Event>
voidServerPush.schedule(EventListener<T> task, T event, Scheduler<T> scheduler) Called by the associated desktop to schedule a task to execute asynchronously.<T extends Event>
voidDesktopCtrl.scheduleServerPush(EventListener<T> task, T event) Schedules a task to run under the server push of the given desktop asynchronously. -
Uses of EventListener in org.zkoss.zk.ui.util
Classes in org.zkoss.zk.ui.util that implement EventListenerModifier and TypeClassDescriptionclassGenericAutowireComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods with "auto-wired" accessible variable objects such as implicit objects, components, and external resolvable variables in a ZK zuml page.classGenericComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods; this class will registers onXxx events to the supervised component automatically.classGenericForwardComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx$myid event handler methods with auto event forwarding and "auto-wired" accessible variable objects such as embedded objects, components, and external resolvable variables in a ZK zuml page; this class will add forward condition to the myid source component and forward source onXxx event received by the source myid component to the target onXxx$myid event (as defined in this composer) of the supervised target component; of course it will also registers onXxx$myid events to the supervised component and wire all accessible variable objects to this composer by calling setXxx() method or set xxx field value directly per the variable name.