|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.DefaultGraphLayout
This class is a default implementation of the SimpleGraphLayout interface.
Constructor Summary | |
DefaultGraphLayout()
|
Method Summary | |
Rectangle |
getBoundingBox()
Returns the bounding box of this graph layout This is the smallest rectangle containing the entire layout. |
EdgeLabelLayout[] |
getEdgeLabelLayout(Object edge)
Returns an array of layout information for all edge labels belonging to the given edge. |
EdgeLayout |
getEdgeLayout(Object edge)
Returns the layout information for a given edge. |
NodeLabelLayout[] |
getNodeLabelLayout(Object node)
Returns an array of layout information for all node labels belonging to the given node. |
NodeLayout |
getNodeLayout(Object node)
Returns the layout information for a given node. |
void |
setEdgeLabelLayout(Object node,
EdgeLabelLayout[] layout)
|
void |
setEdgeLayout(Object edge,
EdgeLayout layout)
|
void |
setNodeLabelLayout(Object node,
NodeLabelLayout[] layout)
|
void |
setNodeLayout(Object node,
NodeLayout layout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultGraphLayout()
Method Detail |
public void setNodeLayout(Object node, NodeLayout layout)
public void setEdgeLayout(Object edge, EdgeLayout layout)
public EdgeLayout getEdgeLayout(Object edge)
GraphLayout
getEdgeLayout
in interface GraphLayout
public NodeLayout getNodeLayout(Object node)
GraphLayout
getNodeLayout
in interface GraphLayout
public void setNodeLabelLayout(Object node, NodeLabelLayout[] layout)
public NodeLabelLayout[] getNodeLabelLayout(Object node)
GraphLayout
getNodeLabelLayout
in interface GraphLayout
public void setEdgeLabelLayout(Object node, EdgeLabelLayout[] layout)
public EdgeLabelLayout[] getEdgeLabelLayout(Object edge)
GraphLayout
getEdgeLabelLayout
in interface GraphLayout
public Rectangle getBoundingBox()
getBoundingBox
in interface GraphLayout
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |