All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.contrib.PolygonHandle
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractHandle
|
+----CH.ifa.draw.contrib.PolygonHandle
- public class PolygonHandle
- extends AbstractHandle
A handle for a node on the polygon.
-
PolygonHandle(PolygonFigure, Locator, int)
- Constructs a polygon handle.
-
invokeEnd(int, int, int, int, DrawingView)
- Tracks the end of the interaction.
-
invokeStep(int, int, int, int, DrawingView)
- Tracks a step of the interaction.
-
locate()
- Locates the handle on the figure.
PolygonHandle
public PolygonHandle(PolygonFigure owner,
Locator l,
int index)
- Constructs a polygon handle.
- Parameters:
- owner - the owning polygon figure.
invokeStep
public void invokeStep(int x,
int y,
int anchorX,
int anchorY,
DrawingView view)
- Tracks a step of the interaction.
- Overrides:
- invokeStep in class AbstractHandle
invokeEnd
public void invokeEnd(int x,
int y,
int anchorX,
int anchorY,
DrawingView view)
- Tracks the end of the interaction.
- Overrides:
- invokeEnd in class AbstractHandle
locate
public Point locate()
- Locates the handle on the figure.
- Overrides:
- locate in class AbstractHandle
All Packages Class Hierarchy This Package Previous Next Index