All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.RelativeLocator
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractLocator
|
+----CH.ifa.draw.standard.RelativeLocator
- public class RelativeLocator
- extends AbstractLocator
A locator that specfies a point that is relative to the bounds
of a figure.
- See Also:
- Locator
-
RelativeLocator()
-
-
RelativeLocator(double, double)
-
-
center()
- Center.
-
east()
-
-
locate(Figure)
- Locates a position on the passed figure.
-
north()
- North.
-
northEast()
- North east.
-
northWest()
- North west.
-
read(StorableInput)
- Reads the arrow tip from a StorableInput.
-
south()
- South.
-
southEast()
- South east.
-
southWest()
- South west.
-
west()
- West.
-
write(StorableOutput)
- Stores the arrow tip to a StorableOutput.
RelativeLocator
public RelativeLocator()
RelativeLocator
public RelativeLocator(double relativeX,
double relativeY)
locate
public Point locate(Figure owner)
- Locates a position on the passed figure.
- Overrides:
- locate in class AbstractLocator
write
public void write(StorableOutput dw)
- Stores the arrow tip to a StorableOutput.
- Overrides:
- write in class AbstractLocator
read
public void read(StorableInput dr) throws IOException
- Reads the arrow tip from a StorableInput.
- Overrides:
- read in class AbstractLocator
east
public static Locator east()
north
public static Locator north()
- North.
west
public static Locator west()
- West.
northEast
public static Locator northEast()
- North east.
northWest
public static Locator northWest()
- North west.
south
public static Locator south()
- South.
southEast
public static Locator southEast()
- South east.
southWest
public static Locator southWest()
- South west.
center
public static Locator center()
- Center.
All Packages Class Hierarchy This Package Previous Next Index