CH.ifa.draw.standard
Class HandleTracker
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractTool
-
- CH.ifa.draw.standard.HandleTracker
-
- All Implemented Interfaces:
- Tool
public class HandleTracker extends AbstractTool
HandleTracker implements interactions with the handles of a Figure.- See Also:
SelectionTool
-
-
Constructor Summary
Constructors Constructor and Description HandleTracker(DrawingView view, Handle anchorHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidmouseDown(java.awt.event.MouseEvent e, int x, int y)Handles mouse down events in the drawing view.voidmouseDrag(java.awt.event.MouseEvent e, int x, int y)Handles mouse drag events in the drawing view.voidmouseUp(java.awt.event.MouseEvent e, int x, int y)Handles mouse up in the drawing view.-
Methods inherited from class CH.ifa.draw.standard.AbstractTool
activate, deactivate, drawing, editor, keyDown, mouseMove, view
-
-
-
-
Constructor Detail
-
HandleTracker
public HandleTracker(DrawingView view, Handle anchorHandle)
-
-
Method Detail
-
mouseDown
public void mouseDown(java.awt.event.MouseEvent e, int x, int y)Description copied from class:AbstractToolHandles mouse down events in the drawing view.- Specified by:
mouseDownin interfaceTool- Overrides:
mouseDownin classAbstractTool
-
mouseDrag
public void mouseDrag(java.awt.event.MouseEvent e, int x, int y)Description copied from class:AbstractToolHandles mouse drag events in the drawing view.- Specified by:
mouseDragin interfaceTool- Overrides:
mouseDragin classAbstractTool
-
mouseUp
public void mouseUp(java.awt.event.MouseEvent e, int x, int y)Description copied from class:AbstractToolHandles mouse up in the drawing view.- Specified by:
mouseUpin interfaceTool- Overrides:
mouseUpin classAbstractTool
-
-
DataMelt 3.0 © DataMelt by jWork.ORG