Class DockbarEventHandler


  • public class DockbarEventHandler
    extends EventHandler
    An event handler to match DockbarEvent types to the appropriate DockbarListener method.
    Author:
    Christopher Butler
    • Constructor Detail

      • DockbarEventHandler

        public DockbarEventHandler()
    • Method Detail

      • acceptsEvent

        public boolean acceptsEvent​(Event evt)
        This class accepts DockbarEvents.
        Specified by:
        acceptsEvent in class EventHandler
        Parameters:
        evt -
        Returns:
        true if this handler handles the event, false otherwise.
      • acceptsListener

        public boolean acceptsListener​(java.util.EventListener listener)
        Specified by:
        acceptsListener in class EventHandler
      • handleEvent

        public void handleEvent​(Event event,
                                java.util.EventListener consumer,
                                int eventType)
        Specified by:
        handleEvent in class EventHandler