|
|||||||||
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 FormField 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 Connector
containsPoint
in class AbstractConnector
public java.awt.Rectangle displayBox()
displayBox
in interface Connector
displayBox
in class AbstractConnector
public void draw(java.awt.Graphics g)
draw
in interface Connector
draw
in class AbstractConnector
public void write(StorableOutput dw)
write
in interface Storable
write
in class AbstractConnector
public void read(StorableInput dr) throws java.io.IOException
read
in interface Storable
read
in class AbstractConnector
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |