All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.LocatorConnector
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractConnector
|
+----CH.ifa.draw.standard.LocatorConnector
- public class LocatorConnector
- extends AbstractConnector
A LocatorConnector locates connection points with
the help of a Locator. It supports the definition
of connection points to semantic locations.
- See Also:
- Locator, Connector
-
SIZE
- The standard size of the connector.
-
LocatorConnector()
-
-
LocatorConnector(Figure, Locator)
-
-
containsPoint(int, int)
- Tests if a point is contained in the connector.
-
displayBox()
- Gets the display box of the connector.
-
draw(Graphics)
- Draws this connector.
-
locate(ConnectionFigure)
-
-
read(StorableInput)
- Reads the arrow tip from a StorableInput.
-
write(StorableOutput)
- Stores the arrow tip to a StorableOutput.
SIZE
public static final int SIZE
- The standard size of the connector. The display box
is centered around the located point.
LocatorConnector
public LocatorConnector()
LocatorConnector
public LocatorConnector(Figure owner,
Locator l)
locate
protected Point locate(ConnectionFigure connection)
containsPoint
public boolean containsPoint(int x,
int y)
- Tests if a point is contained in the connector.
- Overrides:
- containsPoint in class AbstractConnector
displayBox
public Rectangle displayBox()
- Gets the display box of the connector.
- Overrides:
- displayBox in class AbstractConnector
draw
public void draw(Graphics g)
- Draws this connector.
- Overrides:
- draw in class AbstractConnector
write
public void write(StorableOutput dw)
- Stores the arrow tip to a StorableOutput.
- Overrides:
- write in class AbstractConnector
read
public void read(StorableInput dr) throws IOException
- Reads the arrow tip from a StorableInput.
- Overrides:
- read in class AbstractConnector
All Packages Class Hierarchy This Package Previous Next Index