|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.PlacementHint
Placement hint - graph beautification helper. Contains various methods to help placement of a node.
Gui
Constructor Summary | |
PlacementHint(org.eu.sk.zero.acd.Node n,
org.eu.sk.zero.acd.ACD a)
Creates hints for placing the specified node. |
Method Summary | |
Point |
placeHorizontallyAdjacent(int x,
org.eu.sk.zero.acd.Node ref)
Places the node on the same Y coordinate as the given node. |
Point |
placeOnX(int x)
Places the node on an empty spot with X coordinate equal to the given. |
Point |
placeUnder(org.eu.sk.zero.acd.Node ref)
Places the node under the given node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlacementHint(org.eu.sk.zero.acd.Node n, org.eu.sk.zero.acd.ACD a)
Method Detail |
public Point placeHorizontallyAdjacent(int x, org.eu.sk.zero.acd.Node ref)
x
- the X coordinate where to place itref
- node, from which the Y coordinate will be takenpublic Point placeUnder(org.eu.sk.zero.acd.Node ref)
public Point placeOnX(int x)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |