Class TwistieLabel.MouseInterceptor

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.internal.SWTEventListener
    Enclosing class:
    TwistieLabel

    private class TwistieLabel.MouseInterceptor
    extends org.eclipse.swt.events.MouseAdapter
    A listener that intercepts mouseDown events from the control and the title label so we can fire a single event to the listener to signal that the control has been collapsed or expanded.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MouseInterceptor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseDown​(org.eclipse.swt.events.MouseEvent e)  
      • Methods inherited from class org.eclipse.swt.events.MouseAdapter

        mouseDoubleClick, mouseUp
      • Methods inherited from class java.lang.Object

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

      • MouseInterceptor

        private MouseInterceptor()
    • Method Detail

      • mouseDown

        public void mouseDown​(org.eclipse.swt.events.MouseEvent e)
        Specified by:
        mouseDown in interface org.eclipse.swt.events.MouseListener
        Overrides:
        mouseDown in class org.eclipse.swt.events.MouseAdapter