CH.ifa.draw.figures
Class PolyLineHandle
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractHandle
-
- CH.ifa.draw.standard.LocatorHandle
-
- CH.ifa.draw.figures.PolyLineHandle
-
- All Implemented Interfaces:
- Handle
public class PolyLineHandle extends LocatorHandle
A handle for a node on the polyline.
-
-
Field Summary
-
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
-
-
Constructor Summary
Constructors Constructor and Description PolyLineHandle(PolyLineFigure owner, Locator l, int index)Constructs a poly line handle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinvokeStart(int x, int y, DrawingView view)voidinvokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)Tracks a step of the interaction.-
Methods inherited from class CH.ifa.draw.standard.LocatorHandle
locate
-
Methods inherited from class CH.ifa.draw.standard.AbstractHandle
containsPoint, displayBox, draw, invokeEnd, invokeEnd, invokeStart, invokeStep, owner
-
-
-
-
Constructor Detail
-
PolyLineHandle
public PolyLineHandle(PolyLineFigure owner, Locator l, int index)
Constructs a poly line handle.- Parameters:
owner- the owning polyline figure.
-
-
Method Detail
-
invokeStart
public void invokeStart(int x, int y, DrawingView view)- Specified by:
invokeStartin interfaceHandle- Overrides:
invokeStartin classAbstractHandle- Parameters:
x- the x position where the interaction startedy- the y position where the interaction startedview- the handles container
-
invokeStep
public void invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)Description copied from class:AbstractHandleTracks a step of the interaction.- Specified by:
invokeStepin interfaceHandle- Overrides:
invokeStepin classAbstractHandle- Parameters:
x- the current x positiony- the current y positionanchorX- the x position where the interaction startedanchorY- the y position where the interaction started
-
-
DataMelt 3.0 © DataMelt by jWork.ORG