Class ROIFigure.CommonDragger

java.lang.Object
org.eclipse.draw2d.MouseMotionListener.Stub
org.eclipse.nebula.visualization.widgets.figureparts.ROIFigure.CommonDragger
All Implemented Interfaces:
org.eclipse.draw2d.MouseListener, org.eclipse.draw2d.MouseMotionListener
Direct Known Subclasses:
ROIFigure.ROIRectDragger
Enclosing class:
ROIFigure

abstract class ROIFigure.CommonDragger
extends org.eclipse.draw2d.MouseMotionListener.Stub
implements org.eclipse.draw2d.MouseListener
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.draw2d.MouseListener

    org.eclipse.draw2d.MouseListener.Stub

    Nested classes/interfaces inherited from interface org.eclipse.draw2d.MouseMotionListener

    org.eclipse.draw2d.MouseMotionListener.Stub
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected boolean armed  
    protected org.eclipse.draw2d.geometry.Point start  
    protected org.eclipse.draw2d.geometry.Rectangle startROIBounds  
  • Constructor Summary

    Constructors 
    Constructor Description
    CommonDragger()  
  • Method Summary

    Modifier and Type Method Description
    void mouseDoubleClicked​(org.eclipse.draw2d.MouseEvent me)  
    void mouseDragged​(org.eclipse.draw2d.MouseEvent me)  
    void mousePressed​(org.eclipse.draw2d.MouseEvent me)  
    void mouseReleased​(org.eclipse.draw2d.MouseEvent me)  
    protected abstract void updateROIBounds​(org.eclipse.draw2d.MouseEvent me)  

    Methods inherited from class org.eclipse.draw2d.MouseMotionListener.Stub

    mouseEntered, mouseExited, mouseHover, mouseMoved

    Methods inherited from class java.lang.Object

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

    • start

      protected org.eclipse.draw2d.geometry.Point start
    • startROIBounds

      protected org.eclipse.draw2d.geometry.Rectangle startROIBounds
    • armed

      protected boolean armed
  • Constructor Details

  • Method Details

    • mousePressed

      public void mousePressed​(org.eclipse.draw2d.MouseEvent me)
      Specified by:
      mousePressed in interface org.eclipse.draw2d.MouseListener
    • mouseDoubleClicked

      public void mouseDoubleClicked​(org.eclipse.draw2d.MouseEvent me)
      Specified by:
      mouseDoubleClicked in interface org.eclipse.draw2d.MouseListener
    • mouseReleased

      public void mouseReleased​(org.eclipse.draw2d.MouseEvent me)
      Specified by:
      mouseReleased in interface org.eclipse.draw2d.MouseListener
    • updateROIBounds

      protected abstract void updateROIBounds​(org.eclipse.draw2d.MouseEvent me)
    • mouseDragged

      public void mouseDragged​(org.eclipse.draw2d.MouseEvent me)
      Specified by:
      mouseDragged in interface org.eclipse.draw2d.MouseMotionListener
      Overrides:
      mouseDragged in class org.eclipse.draw2d.MouseMotionListener.Stub