Package | com.yworks.yfiles.layout.hierarchic.incremental |
Interface | public interface NodeData |
See also
Property | Defined By | ||
---|---|---|---|
firstSameLayerEdgeCell : ListCell [read-only]
Returns the first same layer edge ListCell of all same layer edges. | NodeData |
Method | Defined By | ||
---|---|---|---|
Creates, stores, and returns a BorderLine for the given side or returns the currently set BorderLine if it already exists. | NodeData | ||
getNormalizedBorderLine(side:int):BorderLine
Returns a borderline for the given side which is treated as if the node's position was at (0,0). | NodeData | ||
sameLayerEdgeCount():int
Returns the number of same layer edges that are associated with this node
| NodeData |
firstSameLayerEdgeCell | property |
firstSameLayerEdgeCell:ListCell
[read-only] Returns the first same layer edge ListCell of all same layer edges.
public function get firstSameLayerEdgeCell():ListCell
See also
createBorderLine | () | method |
public function createBorderLine(side:int, nl:NodeLayout):BorderLine
Creates, stores, and returns a BorderLine for the given side or returns the currently set BorderLine if it already exists. Not every type of node supports this operation. com.yworks.yfiles.layout.hierarchic.incremental.NodeDataConstants.TYPE_NORMAL supports borderlines.
Parameters
side:int — the side as defined in getNormalizedBorderLine()
| |
nl:NodeLayout — the NodeLayout of the current node, the initial Borderline will be initialize from this instance
|
BorderLine |
flash.errors:IllegalOperationError — if this type of node does not support node borders
|
See also
getNormalizedBorderLine | () | method |
public function getNormalizedBorderLine(side:int):BorderLine
Returns a borderline for the given side which is treated as if the node's position was at (0,0).
Clients may modify this instance but should always reset it to the original position, since this is a shared instance. May return null
to indicate that the borderline can be determined through the node's NodeLayout
Parameters
side:int — the index of the side where 0 means top, 1 means right, 2 means bottom, and 3 means left.
|
BorderLine — a BorderLine instance if the node was at (0,0) or null
|
See also
sameLayerEdgeCount | () | method |
public function sameLayerEdgeCount():int
Returns the number of same layer edges that are associated with this node
Returnsint — the number
|