Package | com.yworks.yfiles.layout.grouping |
Class | public class GroupNodeHider |
Inheritance | GroupNodeHider AbstractLayoutStage YObject Object |
Property | Defined By | ||
---|---|---|---|
coreLayouter : Layouter
Specifies the core layouter. | AbstractLayoutStage | ||
groupBoundsCalculator : GroupBoundsCalculator
Getter:
Returns the currently installed GroupBoundsCalculator instance
Setter:
Sets the new GroupBoundsCalculator instance. | GroupNodeHider | ||
hidingEmptyGroupNodes : Boolean
Specifies whether or not group nodes without children will be hidden. | GroupNodeHider |
Method | Defined By | ||
---|---|---|---|
GroupNodeHider(init:Boolean = true)
Creates a new instance of GroupNodeHider
| GroupNodeHider | ||
canLayout(graph:LayoutGraph):Boolean [override] | GroupNodeHider | ||
doLayout(graph:LayoutGraph):void [override] | GroupNodeHider | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | GroupNodeHider | ||
hashCode():int | YObject | ||
hideGroupNodes(graph:LayoutGraph):void
Hides the group nodes and adjacent edges from the graph. | GroupNodeHider | ||
[static]
Creates a new instance of GroupNodeHider
| GroupNodeHider | ||
[static]
Creates a new instance of GroupNodeHider. | GroupNodeHider | ||
unhideGroupNodes(graph:LayoutGraph):void
Unhides group nodes and adjacent edges from the graph that were previously hidden using method hideGroupNodes(). | GroupNodeHider |
Method | Defined By | ||
---|---|---|---|
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | ||
doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | ||
initAbstractLayoutStage1():void | AbstractLayoutStage | ||
initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | ||
initGroupNodeHider1():void
Initializes this object. | GroupNodeHider | ||
initGroupNodeHider2(coreLayouter:Layouter):void
Initializes this object. | GroupNodeHider |
groupBoundsCalculator | property |
groupBoundsCalculator:GroupBoundsCalculator
Getter: Returns the currently installed GroupBoundsCalculator instance
Setter: Sets the new GroupBoundsCalculator instance. public function get groupBoundsCalculator():GroupBoundsCalculator
public function set groupBoundsCalculator(value:GroupBoundsCalculator):void
hidingEmptyGroupNodes | property |
hidingEmptyGroupNodes:Boolean
Specifies whether or not group nodes without children will be hidden.
Defaults to true
.
public function get hidingEmptyGroupNodes():Boolean
public function set hidingEmptyGroupNodes(value:Boolean):void
GroupNodeHider | () | Constructor |
public function GroupNodeHider(init:Boolean = true)
Creates a new instance of GroupNodeHider
Parametersinit: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.
|
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
hideGroupNodes | () | method |
public function hideGroupNodes(graph:LayoutGraph):void
Hides the group nodes and adjacent edges from the graph. Furthermore this method removes all grouping related DataProviders from the input graph.
Parameters
graph:LayoutGraph |
initGroupNodeHider1 | () | method |
protected final function initGroupNodeHider1():void
Initializes this object. See the documentation of the corresponding factory method newGroupNodeHider1()
for details.
See also
initGroupNodeHider2 | () | method |
protected final function initGroupNodeHider2(coreLayouter:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newGroupNodeHider2()
for details.
Parameters
coreLayouter:Layouter |
See also
newGroupNodeHider1 | () | method |
public static function newGroupNodeHider1():GroupNodeHider
Creates a new instance of GroupNodeHider
ReturnsGroupNodeHider |
newGroupNodeHider2 | () | method |
public static function newGroupNodeHider2(coreLayouter:Layouter):GroupNodeHider
Creates a new instance of GroupNodeHider.
Parameters
coreLayouter:Layouter — the core layouter used by this layout stage.
|
GroupNodeHider |
unhideGroupNodes | () | method |
public function unhideGroupNodes(graph:LayoutGraph):void
Unhides group nodes and adjacent edges from the graph that were previously hidden using method hideGroupNodes(). Furthermore this method restores all previously removed grouping related DataProviders on the input graph.
Parameters
graph:LayoutGraph |
See also