Package org.zkoss.zk.ui.event

## Interface SerializableEventListener<T extends Event>

- All Superinterfaces:
    `EventListener<T>`, `java.io.Serializable`
  All Known Subinterfaces:
    `PagingListener`
  All Known Implementing Classes:
    `GenericAutowireComposer`, `GenericComposer`, `GenericEventListener`, `GenericForwardComposer`

      public interface SerializableEventListener<T extends Event>
      extends EventListener<T>, java.io.Serializable

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

  It is the same as `EventListener` except it also extends java.io.Serializable. It is useful for instantiating a serializable instance of an anonymous class (so it could work in a clustering environment). For example,

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

  Since:
    5.0.6
  Author:
    tomyeh

- - ### Method Summary

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

      `onEvent`