|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractConnector
CH.ifa.draw.standard.LocatorConnector
public class LocatorConnector
A LocatorConnector locates connection points with the help of a Locator. It supports the definition of connection points to semantic locations.
Locator,
Connector,
Serialized Form| Field Summary | |
|---|---|
static int |
SIZE
The standard size of the connector. |
| Constructor Summary | |
|---|---|
LocatorConnector()
|
|
LocatorConnector(Figure owner,
Locator l)
|
|
| Method Summary | |
|---|---|
boolean |
containsPoint(int x,
int y)
Tests if a point is contained in the connector. |
java.awt.Rectangle |
displayBox()
Gets the display box of the connector. |
void |
draw(java.awt.Graphics g)
Draws this connector. |
protected java.awt.Point |
locate(ConnectionFigure connection)
|
void |
read(StorableInput dr)
Reads the arrow tip from a StorableInput. |
void |
write(StorableOutput dw)
Stores the arrow tip to a StorableOutput. |
| Methods inherited from class CH.ifa.draw.standard.AbstractConnector |
|---|
findEnd, findPoint, findStart, owner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZE
| Constructor Detail |
|---|
public LocatorConnector()
public LocatorConnector(Figure owner,
Locator l)
| Method Detail |
|---|
protected java.awt.Point locate(ConnectionFigure connection)
public boolean containsPoint(int x,
int y)
containsPoint in interface ConnectorcontainsPoint in class AbstractConnectorpublic java.awt.Rectangle displayBox()
displayBox in interface ConnectordisplayBox in class AbstractConnectorpublic void draw(java.awt.Graphics g)
draw in interface Connectordraw in class AbstractConnectorpublic void write(StorableOutput dw)
write in interface Storablewrite in class AbstractConnector
public void read(StorableInput dr)
throws java.io.IOException
read in interface Storableread in class AbstractConnectorjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||