Class SVG12BridgeContext.EventListenerWrapper

  • All Implemented Interfaces:
    EventListener
    Enclosing class:
    SVG12BridgeContext

    protected class SVG12BridgeContext.EventListenerWrapper
    extends java.lang.Object
    implements EventListener
    Wrapper for DOM event listeners so that they will see only original events (i.e., not retargetted).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected EventListener listener
      The wrapped listener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleEvent​(Event evt)
      Handles the event.
      java.lang.String toString()
      String representation of this listener wrapper.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • listener

        protected EventListener listener
        The wrapped listener.
    • Constructor Detail

      • EventListenerWrapper

        public EventListenerWrapper​(EventListener l)
        Creates a new EventListenerWrapper.
    • Method Detail

      • handleEvent

        public void handleEvent​(Event evt)
        Handles the event.
        Specified by:
        handleEvent in interface EventListener
        Parameters:
        evt - The Event contains contextual information about the event.
      • toString

        public java.lang.String toString()
        String representation of this listener wrapper.
        Overrides:
        toString in class java.lang.Object