JHotDraw 7.1

org.jhotdraw.draw
Interface Locator

All Known Implementing Classes:
AbstractLocator, BezierLabelLocator, BezierPointLocator, FontSizeLocator, RelativeDecoratorLocator, RelativeLocator

public interface Locator

Locators can be used to locate a position on a figure.

Version:
2.0 2006-01-14 Changed to support double precision coordinates.
1.0 2003-12-01 Derived from JHotDraw 5.4b1.
Author:
Werner Randelshofer

Method Summary
 java.awt.geom.Point2D.Double locate(Figure owner)
          Locates a position on the provided figure.
 java.awt.geom.Point2D.Double locate(Figure owner, Figure dependent)
          Locates a position on the provided figure relative to the dependent figure.
 

Method Detail

locate

java.awt.geom.Point2D.Double locate(Figure owner)
Locates a position on the provided figure.

Returns:
a point on the figure.

locate

java.awt.geom.Point2D.Double locate(Figure owner,
                                    Figure dependent)
Locates a position on the provided figure relative to the dependent figure.

Returns:
a point on the figure.

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.