Class EditionEventDispatcher

java.lang.Object
com.kheops.jmap.client.tools.EditionEventDispatcher

public class EditionEventDispatcher extends Object
  • Field Details

  • Constructor Details

    • EditionEventDispatcher

      public EditionEventDispatcher()
  • Method Details

    • hasListeners

      public boolean hasListeners()
    • addListener

      public void addListener(EditionEventListener listener)
      Added the specified listener to the edition listeners list.
      Parameters:
      listener - the listener to add.
    • removeListener

      public void removeListener(EditionEventListener listener)
      Removes the specified listener from the listeners list.
      Parameters:
      listener - the listener to remove.
    • getListeners

      protected final EditionEventListener[] getListeners()
    • visit

      public void visit(EditionEvent event)
      Fires the specified EditionEvent to all layer listeners.
      Parameters:
      event - the event to be fired.
    • visit

      public void visit(FormEditionEvent event)
      Fires the specified FormEditionEvent to all layer listeners.
      Parameters:
      event - the event to be fired.
    • destroy

      public void destroy()
      Clears all layer listeners managed by the dispatcher.