Package | com.yworks.yfiles.layout |
Class | public class DefaultGraphLayout |
Inheritance | DefaultGraphLayout YObject Object |
Implements | GraphLayout |
Method | Defined By | ||
---|---|---|---|
DefaultGraphLayout(init:Boolean = true) | DefaultGraphLayout | ||
equals(o:Object):Boolean | YObject | ||
Returns the bounding box of this graph layout This is the smallest rectangle containing the entire layout. | DefaultGraphLayout | ||
getClass():Class [override] | DefaultGraphLayout | ||
getEdgeLabelLayout(edge:Object):Vector.<Object>
Returns the edge label layouts associated with the given edge. | DefaultGraphLayout | ||
getEdgeLayout(edge:Object):EdgeLayout
Returns the layout information associated with the given edge object. | DefaultGraphLayout | ||
getNodeLabelLayout(node:Object):Vector.<Object>
Returns the node label layouts associated with the given node. | DefaultGraphLayout | ||
getNodeLayout(node:Object):NodeLayout
Returns the layout information associated with the given node object. | DefaultGraphLayout | ||
hashCode():int | YObject | ||
[static] | DefaultGraphLayout | ||
setEdgeLabelLayout(edge:Object, layout:Vector.<Object>):void
Sets the edge label layouts associated with the given edge. | DefaultGraphLayout | ||
setEdgeLayout(edge:Object, layout:EdgeLayout):void
Sets the layout information associated with the given edge object. | DefaultGraphLayout | ||
setNodeLabelLayout(node:Object, layout:Vector.<Object>):void
Sets the node label layouts associated with the given node. | DefaultGraphLayout | ||
setNodeLayout(node:Object, layout:NodeLayout):void
Sets the layout information associated with the given node object. | DefaultGraphLayout |
Method | Defined By | ||
---|---|---|---|
initDefaultGraphLayout():void
Initializes this object. | DefaultGraphLayout |
DefaultGraphLayout | () | Constructor |
public function DefaultGraphLayout(init:Boolean = true)
Parameters
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
getBoundingBox | () | method |
public function getBoundingBox():Rectangle
Returns the bounding box of this graph layout This is the smallest rectangle containing the entire layout. If the layout does not contain any node layout information (and therefore no edge layout information either), the bounding box will have negative width and/or height.
ReturnsRectangle |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getEdgeLabelLayout | () | method |
public function getEdgeLabelLayout(edge:Object):Vector.<Object>
Returns the edge label layouts associated with the given edge.
Parameters
edge:Object |
Vector.<Object> |
getEdgeLayout | () | method |
public function getEdgeLayout(edge:Object):EdgeLayout
Returns the layout information associated with the given edge object.
Parameters
edge:Object |
EdgeLayout |
getNodeLabelLayout | () | method |
public function getNodeLabelLayout(node:Object):Vector.<Object>
Returns the node label layouts associated with the given node.
Parameters
node:Object |
Vector.<Object> |
getNodeLayout | () | method |
public function getNodeLayout(node:Object):NodeLayout
Returns the layout information associated with the given node object.
Parameters
node:Object |
NodeLayout |
initDefaultGraphLayout | () | method |
protected final function initDefaultGraphLayout():void
Initializes this object. See the documentation of the corresponding factory method newDefaultGraphLayout()
for details.
See also
newDefaultGraphLayout | () | method |
setEdgeLabelLayout | () | method |
public function setEdgeLabelLayout(edge:Object, layout:Vector.<Object>):void
Sets the edge label layouts associated with the given edge.
Parameters
edge:Object | |
layout:Vector.<Object> |
setEdgeLayout | () | method |
public function setEdgeLayout(edge:Object, layout:EdgeLayout):void
Sets the layout information associated with the given edge object.
Parameters
edge:Object | |
layout:EdgeLayout |
setNodeLabelLayout | () | method |
public function setNodeLabelLayout(node:Object, layout:Vector.<Object>):void
Sets the node label layouts associated with the given node.
Parameters
node:Object | |
layout:Vector.<Object> |
setNodeLayout | () | method |
public function setNodeLayout(node:Object, layout:NodeLayout):void
Sets the layout information associated with the given node object.
Parameters
node:Object | |
layout:NodeLayout |