JHotDraw 7.0.6

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.


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-2006 © JHotDraw.org