|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.DefaultGraphLayout
public class DefaultGraphLayout
This class is a default implementation of the simple GraphLayout 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 the edge label layouts associated with the given edge. |
EdgeLayout |
getEdgeLayout(Object edge)
Returns the layout information associated with the given edge object. |
NodeLabelLayout[] |
getNodeLabelLayout(Object node)
Returns the node label layouts associated with the given node. |
NodeLayout |
getNodeLayout(Object node)
Returns the layout information associated with the given node object. |
void |
setEdgeLabelLayout(Object edge,
EdgeLabelLayout[] layout)
Sets the edge label layouts associated with the given edge. |
void |
setEdgeLayout(Object edge,
EdgeLayout layout)
Sets the layout information associated with the given edge object. |
void |
setNodeLabelLayout(Object node,
NodeLabelLayout[] layout)
Sets the node label layouts associated with the given node. |
void |
setNodeLayout(Object node,
NodeLayout layout)
Sets the layout information associated with the given node object. |
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)
getEdgeLayout
in interface GraphLayout
public NodeLayout getNodeLayout(Object node)
getNodeLayout
in interface GraphLayout
public void setNodeLabelLayout(Object node, NodeLabelLayout[] layout)
public NodeLabelLayout[] getNodeLabelLayout(Object node)
getNodeLabelLayout
in interface GraphLayout
public void setEdgeLabelLayout(Object edge, EdgeLabelLayout[] layout)
public EdgeLabelLayout[] getEdgeLabelLayout(Object edge)
getEdgeLabelLayout
in interface GraphLayout
public Rectangle getBoundingBox()
getBoundingBox
in interface GraphLayout
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |