Package org.zkoss.zk.ui.select

## Class Selectors.ComposerEventListener

- java.lang.Object
- - org.zkoss.zk.ui.select.Selectors.ComposerEventListener

- All Implemented Interfaces:
    `EventListener<Event>`
  Enclosing class:
    Selectors

      public static class Selectors.ComposerEventListener
      extends java.lang.Object
      implements EventListener<Event>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ComposerEventListener​(java.lang.reflect.Method method, java.lang.Object controller)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onEvent​(Event event)` | Notifies this listener that an event occurs.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ComposerEventListener

          public ComposerEventListener​(java.lang.reflect.Method method,
                                       java.lang.Object controller)

  - ### Method Detail

    - #### onEvent

          public void onEvent​(Event event)
                       throws java.lang.Exception

      Description copied from interface: `EventListener`
      Notifies this listener that an event occurs. To get the event, you have to register it first by use of `Component.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>)` or `Page.addEventListener(java.lang.String, org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event>)`.

      If you want to forward the event to other component, use `Events.sendEvent(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)`.

      Specified by:
        `onEvent` in interface `EventListener<Event>`
      Throws:
        `java.lang.Exception`