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

Constructor Index

 o OffsetLocator()
 o OffsetLocator(Locator)
 o OffsetLocator(Locator, int, int)

Method Index

 o locate(Figure)
Locates a position on the passed figure.
 o moveBy(int, int)
 o read(StorableInput)
Reads the arrow tip from a StorableInput.
 o write(StorableOutput)
Stores the arrow tip to a StorableOutput.

Constructors

 o OffsetLocator
 public OffsetLocator()
 o OffsetLocator
 public OffsetLocator(Locator base)
 o OffsetLocator
 public OffsetLocator(Locator base,
                      int offsetX,
                      int offsetY)

Methods

 o locate
 public Point locate(Figure owner)
Locates a position on the passed figure.

Overrides:
locate in class AbstractLocator
 o moveBy
 public void moveBy(int dx,
                    int dy)
 o write
 public void write(StorableOutput dw)
Stores the arrow tip to a StorableOutput.

Overrides:
write in class AbstractLocator
 o 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