## Uses of Interface
org.zkoss.zk.ui.event.EventListener

- Packages that use EventListener
  Package | Description
  --- | ---
  org.zkoss.stateless.ui.util |
  org.zkoss.zk.ui |
  org.zkoss.zk.ui.event |
  org.zkoss.zk.ui.event.impl |
  org.zkoss.zk.ui.impl |
  org.zkoss.zk.ui.script |
  org.zkoss.zk.ui.select |
  org.zkoss.zk.ui.sys |
  org.zkoss.zk.ui.util |
  org.zkoss.zkex.ui.comet |
  org.zkoss.zkmax.au.websocket |
  org.zkoss.zkmax.ui.event.impl |
  org.zkoss.zul |
  org.zkoss.zul.event |
  org.zkoss.zul.ext |
  org.zkoss.zul.impl |
  org.zkoss.zuti.zul |

- - ### Uses of EventListener in org.zkoss.stateless.ui.util

    Methods in org.zkoss.stateless.ui.util that return types with arguments of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Iterable<EventListener<? extends Event>>` | VolatileComponent.`getEventListeners​(java.lang.String s)` |
    `java.util.Iterator<EventListener<? extends Event>>` | VolatileComponent.`getListenerIterator​(java.lang.String s)` |

    Methods in org.zkoss.stateless.ui.util with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | VolatileComponent.`addEventListener​(int i, java.lang.String s, EventListener<? extends Event> eventListener)` |
    `boolean` | VolatileComponent.`addEventListener​(java.lang.String s, EventListener<? extends Event> eventListener)` |
    `boolean` | VolatileComponent.`removeEventListener​(java.lang.String s, EventListener<? extends Event> eventListener)` |

  - ### Uses of EventListener in org.zkoss.zk.ui

    Methods in org.zkoss.zk.ui that return types with arguments of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Iterable<EventListener<? extends Event>>` | AbstractComponent.`getEventListeners​(java.lang.String evtnm)` |
    `java.lang.Iterable<EventListener<? extends Event>>` | Component.`getEventListeners​(java.lang.String evtnm)` | Returns an iterable collection of the event listeners for the given event.
    `java.lang.Iterable<EventListener<? extends Event>>` | Page.`getEventListeners​(java.lang.String evtnm)` | Returns an iterable collection of the event listeners for the given event.

    Methods in org.zkoss.zk.ui with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | AbstractComponent.`addEventListener​(int priority, java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `boolean` | AbstractComponent.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `boolean` | Component.`addEventListener​(int priority, java.lang.String evtnm, EventListener<? extends Event> listener)` | Adds an event listener to specified event name for this component with the given priority.
    `boolean` | Component.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Adds an event listener to specified event name for this component.
    `boolean` | Page.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Adds an event listener to specified event for all components in this page.
    `boolean` | AbstractComponent.`removeEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `boolean` | Component.`removeEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Removes an event listener.
    `boolean` | Page.`removeEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Removes an event listener.
    `static <T extends Event> void` | Executions.`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.event
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `CloneableEventListener<T extends Event>` | A cloneable event listener that will be notified when an event occurs, if it is registered to `Component.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>)`.
    `interface` | `SerializableEventListener<T extends Event>` | A serializable event listener that will be notified when an event occurs, if it is registered to `Component.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 EventListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `GenericEventListener<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 EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | EventQueue.`isSubscribed​(EventListener<T> listener)` | Returns if an event listener is subscribed.
    `void` | EventQueue.`subscribe​(EventListener<T> listener)` | Subscribes a listener to this queue.
    `void` | EventQueue.`subscribe​(EventListener<T> listener, boolean async)` | Subscribes a synchronous or asynchronous listener to this event queue.
    `void` | EventQueue.`subscribe​(EventListener<T> listener, EventListener<T> callback)` | Subscribes a synchronous or asynchronous listener to this event queue.
    `boolean` | EventQueue.`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 EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | DesktopEventQueue.`isSubscribed​(EventListener<T> listener)` |
    `boolean` | ServerPushEventQueue.`isSubscribed​(EventListener<T> listener)` |
    `void` | DesktopEventQueue.`subscribe​(EventListener<T> listener)` |
    `void` | DesktopEventQueue.`subscribe​(EventListener<T> listener, boolean async)` |
    `void` | DesktopEventQueue.`subscribe​(EventListener<T> listener, EventListener<T> callback)` |
    `void` | ServerPushEventQueue.`subscribe​(EventListener<T> listener)` |
    `void` | ServerPushEventQueue.`subscribe​(EventListener<T> listener, boolean async)` |
    `void` | ServerPushEventQueue.`subscribe​(EventListener<T> listener, EventListener<T> callback)` |
    `boolean` | DesktopEventQueue.`unsubscribe​(EventListener<T> listener)` |
    `boolean` | ServerPushEventQueue.`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 EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Iterable<EventListener<? extends Event>>` | PageImpl.`getEventListeners​(java.lang.String evtnm)` |

    Methods in org.zkoss.zk.ui.impl with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | PageImpl.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `boolean` | PageImpl.`removeEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `<T extends Event> void` | PollingServerPush.`schedule​(EventListener<T> listener, T event, Scheduler<T> scheduler)` |
    `<T extends Event> void` | DesktopImpl.`scheduleServerPush​(EventListener<T> listener, T event)` |

  - ### Uses of EventListener in org.zkoss.zk.ui.script

    Classes in org.zkoss.zk.ui.script that implement EventListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DefaultScriptErrorListener` | A 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
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Selectors.ComposerEventListener` |

  - ### Uses of EventListener in org.zkoss.zk.ui.sys

    Methods in org.zkoss.zk.ui.sys that return EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `EventListener<? 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 EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Scheduler.`schedule​(EventListener<T> task, T event)` | Schedules the task to execute asynchronously.
    `<T extends Event> void` | ServerPush.`schedule​(EventListener<T> task, T event, Scheduler<T> scheduler)` | Called by the associated desktop to schedule a task to execute asynchronously.
    `<T extends Event> void` | DesktopCtrl.`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 EventListener
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `GenericAutowireComposer<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.
    `class` | `GenericComposer<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.
    `class` | `GenericForwardComposer<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.

  - ### Uses of EventListener in org.zkoss.zkex.ui.comet

    Methods in org.zkoss.zkex.ui.comet with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T extends Event> void` | CometServerPush.`schedule​(EventListener<T> listener, T event, Scheduler<T> scheduler)` |

  - ### Uses of EventListener in org.zkoss.zkmax.au.websocket

    Methods in org.zkoss.zkmax.au.websocket with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T extends Event> void` | WebSocketServerPush.`schedule​(EventListener<T> listener, T event, Scheduler<T> scheduler)` |

  - ### Uses of EventListener in org.zkoss.zkmax.ui.event.impl

    Methods in org.zkoss.zkmax.ui.event.impl with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | GroupEventQueue.`isSubscribed​(EventListener<T> listener)` |
    `void` | GroupEventQueue.`subscribe​(EventListener<T> listener)` |
    `void` | GroupEventQueue.`subscribe​(EventListener<T> listener, boolean async)` |
    `void` | GroupEventQueue.`subscribe​(EventListener<T> listener, EventListener<T> callback)` |
    `boolean` | GroupEventQueue.`unsubscribe​(EventListener<T> listener)` |

  - ### Uses of EventListener in org.zkoss.zul

    Methods in org.zkoss.zul with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | Chart.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` |
    `static Media[]` | Fileupload.`get​(int max, EventListener<UploadEvent> listener)` | Opens a modal dialog to upload multiple files with the default message and title.
    `static Media[]` | Fileupload.`get​(java.util.Map<java.lang.String,​java.lang.Object> params, java.lang.String message, java.lang.String title, int max, int maxsize, boolean alwaysNative, EventListener<UploadEvent> listener)` | Opens a modal dialog to upload multiple files with the specified message, title and options.
    `static Media[]` | Fileupload.`get​(java.util.Map<java.lang.String,​java.lang.Object> params, java.lang.String message, java.lang.String title, java.lang.String accept, int max, int maxsize, boolean alwaysNative, EventListener<UploadEvent> listener)` | Opens a modal dialog to upload multiple files with the specified message, title and options.
    `static Media[]` | Fileupload.`get​(EventListener<UploadEvent> listener)` | Opens a modal dialog to upload multiple files with the default message and title.
    `static int` | Messagebox.`show​(int messageCode, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)` | Shows a message box by specifying a message code, and returns what button is pressed.
    `static int` | Messagebox.`show​(int messageCode, java.lang.Object[] args, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)` | Shows a message box by specifying a message code, and returns what button is pressed.
    `static int` | Messagebox.`show​(int messageCode, java.lang.Object arg, int titleCode, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)` | Shows a message box by specifying a message code, and returns what button is pressed.
    `static int` | Messagebox.`show​(java.lang.String message, java.lang.String title, int buttons, java.lang.String icon, int focus, EventListener<Event> listener)` | Shows a message box and returns what button is pressed.
    `static int` | Messagebox.`show​(java.lang.String message, java.lang.String title, int buttons, java.lang.String icon, EventListener<Event> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String[] btnLabels, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener, java.util.Map<java.lang.String,​java.lang.String> params)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, java.lang.String title, Messagebox.Button[] buttons, java.lang.String icon, Messagebox.Button focus, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.
    `static Messagebox.Button` | Messagebox.`show​(java.lang.String message, Messagebox.Button[] buttons, EventListener<Messagebox.ClickEvent> listener)` | Shows a message box and returns what button is pressed.

  - ### Uses of EventListener in org.zkoss.zul.event

    Subinterfaces of EventListener in org.zkoss.zul.event
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `PagingListener` | Provide a shortcut for PagingEventListener

  - ### Uses of EventListener in org.zkoss.zul.ext

    Methods in org.zkoss.zul.ext with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | Paginal.`addEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Adds an event listener to specified event for this component.
    `boolean` | Paginal.`removeEventListener​(java.lang.String evtnm, EventListener<? extends Event> listener)` | Removes an event listener.

  - ### Uses of EventListener in org.zkoss.zul.impl

    Methods in org.zkoss.zul.impl with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | MessageboxDlg.`setEventListener​(EventListener<Messagebox.ClickEvent> listener)` | Sets the event listener.
    `void` | FileuploadDlg.`setUploadListener​(EventListener<UploadEvent> listener)` | Set the upload call back event listener

  - ### Uses of EventListener in org.zkoss.zuti.zul

    Methods in org.zkoss.zuti.zul with parameters of type EventListener
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | NavigationModel.`addEventListener​(EventListener<NavigationEvent<T>> listener)` | Adds a listener to the list that's notified each time a change to the model occurs.
    `void` | NavigationModel.`removeEventListener​(EventListener<NavigationEvent<T>> listener)` | Removes a listener from the list that's notified each time a change to the model occurs.