All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.OffsetLocator
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractLocator
|
+----CH.ifa.draw.standard.OffsetLocator
- public class OffsetLocator
- extends AbstractLocator
A locator to offset another Locator.
- See Also:
- Locator
-
OffsetLocator()
-
-
OffsetLocator(Locator)
-
-
OffsetLocator(Locator, int, int)
-
-
locate(Figure)
- Locates a position on the passed figure.
-
moveBy(int, int)
-
-
read(StorableInput)
- Reads the arrow tip from a StorableInput.
-
write(StorableOutput)
- Stores the arrow tip to a StorableOutput.
OffsetLocator
public OffsetLocator()
OffsetLocator
public OffsetLocator(Locator base)
OffsetLocator
public OffsetLocator(Locator base,
int offsetX,
int offsetY)
locate
public Point locate(Figure owner)
- Locates a position on the passed figure.
- Overrides:
- locate in class AbstractLocator
moveBy
public void moveBy(int dx,
int dy)
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
All Packages Class Hierarchy This Package Previous Next Index