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
-
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)
-
Field Details
-
start
protected org.eclipse.draw2d.geometry.Point start -
startROIBounds
protected org.eclipse.draw2d.geometry.Rectangle startROIBounds -
armed
protected boolean armed
-
-
Constructor Details
-
CommonDragger
CommonDragger()
-
-
Method Details
-
mousePressed
public void mousePressed(org.eclipse.draw2d.MouseEvent me)- Specified by:
mousePressed
in interfaceorg.eclipse.draw2d.MouseListener
-
mouseDoubleClicked
public void mouseDoubleClicked(org.eclipse.draw2d.MouseEvent me)- Specified by:
mouseDoubleClicked
in interfaceorg.eclipse.draw2d.MouseListener
-
mouseReleased
public void mouseReleased(org.eclipse.draw2d.MouseEvent me)- Specified by:
mouseReleased
in interfaceorg.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 interfaceorg.eclipse.draw2d.MouseMotionListener
- Overrides:
mouseDragged
in classorg.eclipse.draw2d.MouseMotionListener.Stub
-