CH.ifa.draw.framework
Interface Locator
-
- All Superinterfaces:
- java.lang.Cloneable, java.io.Serializable, Storable
- All Known Implementing Classes:
- AbstractLocator, OffsetLocator, RelativeLocator
public interface Locator extends Storable, java.io.Serializable, java.lang.Cloneable
Locators can be used to locate a position on a figure.
Design Patterns
Strategy
Locator encapsulates the strategy to locate a handle on a figure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.Pointlocate(Figure owner)Locates a position on the passed figure.
-
-
-
Method Detail
-
locate
java.awt.Point locate(Figure owner)
Locates a position on the passed figure.- Returns:
- a point on the figure.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG