Class CircleSegmentsVisualizer.Instance.SegmentListenerProxy

  • All Implemented Interfaces:
    org.w3c.dom.events.EventListener
    Enclosing class:
    CircleSegmentsVisualizer.Instance

    private class CircleSegmentsVisualizer.Instance.SegmentListenerProxy
    extends java.lang.Object
    implements org.w3c.dom.events.EventListener
    Proxy element to connect signals.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int EVT_DBLCLICK_DELAY
      Mouse double click time window in milliseconds
      private Segment id
      Segment we are attached to
      private long lastClick
      For detecting double clicks.
      private int ringid
      Segment ring we are
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleEvent​(org.w3c.dom.events.Event evt)  
      • Methods inherited from class java.lang.Object

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

      • EVT_DBLCLICK_DELAY

        public static final int EVT_DBLCLICK_DELAY
        Mouse double click time window in milliseconds
        See Also:
        Constant Field Values
      • id

        private Segment id
        Segment we are attached to
      • ringid

        private int ringid
        Segment ring we are
      • lastClick

        private long lastClick
        For detecting double clicks.
    • Constructor Detail

      • SegmentListenerProxy

        public SegmentListenerProxy​(Segment id,
                                    int ringid)
        Constructor.
        Parameters:
        id - Segment id
        ringid - Ring id
    • Method Detail

      • handleEvent

        public void handleEvent​(org.w3c.dom.events.Event evt)
        Specified by:
        handleEvent in interface org.w3c.dom.events.EventListener