Package org.zkoss.zk.ui.event

## Interface CloneableEventListener<T extends Event>

- All Superinterfaces:
    `ComponentCloneListener`, `EventListener<T>`
  All Known Subinterfaces:
    `PagingListener`

      public interface CloneableEventListener<T extends Event>
      extends EventListener<T>, ComponentCloneListener

  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>)`.

  It is the same as `EventListener` except it also extends `ComponentCloneListener`. It is useful for instantiating a cloneable instance of an anonymous class (so it could work in a cloned environment). For example,

      comp.addEventListener("onSomething",
        new CloneableEventListener() {
          public void onEvent(Event event) {
            //...
          }
        });

  Since:
    6.0.0
  Author:
    jumperchen

- - ### Method Summary

    - ### Methods inherited from interface org.zkoss.zk.ui.util.ComponentCloneListener

      `willClone`

    - ### Methods inherited from interface org.zkoss.zk.ui.event.EventListener

      `onEvent`