CH.ifa.draw.standard
Class LocatorHandle

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractHandle
      extended by CH.ifa.draw.standard.LocatorHandle
All Implemented Interfaces:
Handle
Direct Known Subclasses:
ConnectionHandle, FontSizeHandle, NullHandle, PolyLineHandle

public class LocatorHandle
extends AbstractHandle

A LocatorHandle implements a Handle by delegating the location requests to a Locator object.

See Also:
Locator

Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
 
Constructor Summary
LocatorHandle(Figure owner, Locator l)
          Initializes the LocatorHandle with the given Locator.
 
Method Summary
 java.awt.Point locate()
          Locates the handle on the figure by forwarding the request to its figure.
 
Methods inherited from class CH.ifa.draw.standard.AbstractHandle
containsPoint, displayBox, draw, invokeEnd, invokeEnd, invokeStart, invokeStart, invokeStep, invokeStep, owner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorHandle

public LocatorHandle(Figure owner,
                     Locator l)
Initializes the LocatorHandle with the given Locator.

Method Detail

locate

public java.awt.Point locate()
Locates the handle on the figure by forwarding the request to its figure.

Specified by:
locate in interface Handle
Specified by:
locate in class AbstractHandle