|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.Component | +--org.eu.sk.zero.acd.Edge
Edge connecting two nodes.
EdgeType
Field Summary |
Fields inherited from class org.eu.sk.zero.acd.Component |
id, type |
Constructor Summary | |
Edge(org.eu.sk.zero.acd.ComponentType type,
org.eu.sk.zero.acd.Node f,
org.eu.sk.zero.acd.Node t)
Adds an edge of the given type between the given two edges. |
|
Edge(org.eu.sk.zero.acd.ComponentType type,
org.eu.sk.zero.acd.Node f,
org.eu.sk.zero.acd.Node t,
Color c)
Adds an edge of the given type between the given two nodes. |
Method Summary | |
void |
draw(Graphics g)
Draws the edge using the given Graphics objects. |
void |
draw(Graphics g,
int prop)
Draws the edge using the given Graphics objects. |
org.eu.sk.zero.acd.Node |
from()
Returns the first node of this edge |
org.eu.sk.zero.acd.Node |
to()
Returns the second node of this edge |
Methods inherited from class org.eu.sk.zero.acd.Component |
addValue, deselect, getId, getType, hide, isError, isHidden, isSelected, select, setError, show, toString, value, value, valueIterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Edge(org.eu.sk.zero.acd.ComponentType type, org.eu.sk.zero.acd.Node f, org.eu.sk.zero.acd.Node t)
public Edge(org.eu.sk.zero.acd.ComponentType type, org.eu.sk.zero.acd.Node f, org.eu.sk.zero.acd.Node t, Color c)
Method Detail |
public org.eu.sk.zero.acd.Node from()
public org.eu.sk.zero.acd.Node to()
public void draw(Graphics g, int prop)
prop
- - properties - see the final static ComponentType attributes.public void draw(Graphics g)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |