|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCH.ifa.draw.standard.AbstractLocator
CH.ifa.draw.standard.RelativeLocator
public class RelativeLocator
A locator that specfies a point that is relative to the bounds of a figure.
Locator
,
Serialized FormConstructor Summary | |
---|---|
RelativeLocator()
|
|
RelativeLocator(double relativeX,
double relativeY)
|
Method Summary | |
---|---|
static Locator |
center()
Center. |
static Locator |
east()
|
java.awt.Point |
locate(Figure owner)
Locates a position on the passed figure. |
static Locator |
north()
North. |
static Locator |
northEast()
North east. |
static Locator |
northWest()
North west. |
void |
read(StorableInput dr)
Reads the arrow tip from a StorableInput. |
static Locator |
south()
South. |
static Locator |
southEast()
South east. |
static Locator |
southWest()
South west. |
static Locator |
west()
West. |
void |
write(StorableOutput dw)
Stores the arrow tip to a StorableOutput. |
Methods inherited from class CH.ifa.draw.standard.AbstractLocator |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelativeLocator()
public RelativeLocator(double relativeX, double relativeY)
Method Detail |
---|
public java.awt.Point locate(Figure owner)
Locator
public void write(StorableOutput dw)
AbstractLocator
write
in interface Storable
write
in class AbstractLocator
public void read(StorableInput dr) throws java.io.IOException
AbstractLocator
read
in interface Storable
read
in class AbstractLocator
java.io.IOException
public static Locator east()
public static Locator north()
public static Locator west()
public static Locator northEast()
public static Locator northWest()
public static Locator south()
public static Locator southEast()
public static Locator southWest()
public static Locator center()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |