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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolyLineHandle
public PolyLineHandle(PolyLineFigure owner,
Locator l,
int index)
- Constructs a poly line handle.
- Parameters:
owner
- the owning polyline figure.
invokeStart
public void invokeStart(int x,
int y,
DrawingView view)
- Specified by:
invokeStart
in interface Handle
- Overrides:
invokeStart
in class AbstractHandle
- 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:
AbstractHandle
- Tracks a step of the interaction.
- Specified by:
invokeStep
in interface Handle
- Overrides:
invokeStep
in class AbstractHandle
- Parameters:
x
- the current x positiony
- the current y positionanchorX
- the x position where the interaction startedanchorY
- the y position where the interaction started