Class IdentifiableMarkEventConsumer

  • All Implemented Interfaces:
    Identifiable, MarkedEventListener

    public class IdentifiableMarkEventConsumer
    extends IdentifiableMarkEventListener
    Object with unique id that is able to consume marked component event.

    Marked components events listeners may be identifiable to assure that a particular listener is attached only once.

    • Constructor Summary

      Constructors 
      Constructor Description
      IdentifiableMarkEventConsumer​(java.lang.Object id, java.util.function.Consumer<org.zkoss.zk.ui.event.Event> consumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onEvent​(org.zkoss.zk.ui.event.Event event, java.lang.Object markData)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentifiableMarkEventConsumer

        public IdentifiableMarkEventConsumer​(java.lang.Object id,
                                             java.util.function.Consumer<org.zkoss.zk.ui.event.Event> consumer)
    • Method Detail

      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event event,
                            java.lang.Object markData)