Class Annotation.AnnotationDragger
- java.lang.Object
-
- org.eclipse.draw2d.MouseMotionListener.Stub
-
- org.eclipse.nebula.visualization.xygraph.figures.Annotation.AnnotationDragger
-
- All Implemented Interfaces:
org.eclipse.draw2d.MouseListener,org.eclipse.draw2d.MouseMotionListener
- Enclosing class:
- Annotation
private class Annotation.AnnotationDragger extends org.eclipse.draw2d.MouseMotionListener.Stub implements org.eclipse.draw2d.MouseListener
-
-
Field Summary
Fields Modifier and Type Field Description private MovingAnnotationCommandcommandprivate booleanhorizontalMoveableprivate booleanverticalMoveable
-
Constructor Summary
Constructors Constructor Description AnnotationDragger(boolean horizontalMoveable, boolean verticalMoveable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmouseDoubleClicked(org.eclipse.draw2d.MouseEvent me)voidmouseDragged(org.eclipse.draw2d.MouseEvent me)voidmousePressed(org.eclipse.draw2d.MouseEvent me)voidmouseReleased(org.eclipse.draw2d.MouseEvent me)
-
-
-
Field Detail
-
command
private MovingAnnotationCommand command
-
horizontalMoveable
private boolean horizontalMoveable
-
verticalMoveable
private boolean verticalMoveable
-
-
Method Detail
-
mouseDragged
public void mouseDragged(org.eclipse.draw2d.MouseEvent me)
- Specified by:
mouseDraggedin interfaceorg.eclipse.draw2d.MouseMotionListener- Overrides:
mouseDraggedin classorg.eclipse.draw2d.MouseMotionListener.Stub
-
mouseDoubleClicked
public void mouseDoubleClicked(org.eclipse.draw2d.MouseEvent me)
- Specified by:
mouseDoubleClickedin interfaceorg.eclipse.draw2d.MouseListener
-
mousePressed
public void mousePressed(org.eclipse.draw2d.MouseEvent me)
- Specified by:
mousePressedin interfaceorg.eclipse.draw2d.MouseListener
-
mouseReleased
public void mouseReleased(org.eclipse.draw2d.MouseEvent me)
- Specified by:
mouseReleasedin interfaceorg.eclipse.draw2d.MouseListener
-
-