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.


Constructor Index

 o PolygonHandle(PolygonFigure, Locator, int)
Constructs a polygon handle.

Method Index

 o invokeEnd(int, int, int, int, DrawingView)
Tracks the end of the interaction.
 o invokeStep(int, int, int, int, DrawingView)
Tracks a step of the interaction.
 o locate()
Locates the handle on the figure.

Constructors

 o PolygonHandle
 public PolygonHandle(PolygonFigure owner,
                      Locator l,
                      int index)
Constructs a polygon handle.

Parameters:
owner - the owning polygon figure.

Methods

 o 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
 o 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
 o locate
 public Point locate()
Locates the handle on the figure.

Overrides:
locate in class AbstractHandle

All Packages  Class Hierarchy  This Package  Previous  Next  Index