| Package | com.yworks.yfiles.layout.grouping |
| Class | public class MinimumSizeGroupBoundsCalculator |
| Inheritance | MinimumSizeGroupBoundsCalculator InsetsGroupBoundsCalculator YObject Object |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | considerEdgeLabels : Boolean
Specifies whether the bounds calculation for group nodes takes labels of the group's content edges into account. | InsetsGroupBoundsCalculator | |
![]() | considerNodeHalos : Boolean
Specifies whether the bounds calculation for group nodes should take node halos of the group's content nodes into account. | InsetsGroupBoundsCalculator | |
![]() | considerNodeLabelsEnabled : Boolean
Specifies whether the bounds calculation for group nodes should take labels of the group's content nodes into account. | InsetsGroupBoundsCalculator | |
![]() | defaultInsets : Insets
Specifies the default insets. | InsetsGroupBoundsCalculator | |
| defaultMinimumNodeSize : YDimension
Specifies the default minimum size for nodes. | MinimumSizeGroupBoundsCalculator | ||
![]() | groupNodeInsetsDPKey : Object
Specifies the DataProvider key that is used to get the insets for the nodes. | InsetsGroupBoundsCalculator | |
| minimumNodeSizeDPKey : Object
Specifies the DataProvider key that is used to get the minimum sizes for the nodes. | MinimumSizeGroupBoundsCalculator | ||
| xAlignment : Number
Specifies a value that describes how the node will be resized horizontally if the calculated width of com.yworks.yfiles.layout.grouping.InsetsGroupBoundsCalculator is smaller than the minimal width that is provided for the node. | MinimumSizeGroupBoundsCalculator | ||
| yAlignment : Number
Specifies a value that describes how the node will be resized vertically if the calculated height of com.yworks.yfiles.layout.grouping.InsetsGroupBoundsCalculator is smaller than the minimal height that is provided for the node. | MinimumSizeGroupBoundsCalculator | ||
| Method | Defined By | ||
|---|---|---|---|
MinimumSizeGroupBoundsCalculator(init:Boolean = true)
Constructs an instance that uses the minimum size provided through the data provider registered at the input graph with the public key com.yworks.yfiles.layout.grouping.GroupingKeys.MINIMUM_NODE_SIZE_DPKEY. | MinimumSizeGroupBoundsCalculator | ||
[override] | MinimumSizeGroupBoundsCalculator | ||
![]() | equals(o:Object):Boolean | YObject | |
getClass():Class [override] | MinimumSizeGroupBoundsCalculator | ||
![]() | hashCode():int | YObject | |
![]() | [static]
Constructs an instance that uses insets provided through the data provider registered at the input graph with the public key com.yworks.yfiles.layout.grouping.GroupingKeys.GROUP_NODE_INSETS_DPKEY. | InsetsGroupBoundsCalculator | |
![]() | [static]
Constructs an instance that uses the specified insets as the default if the data provider contains no insets information for a specific node. | InsetsGroupBoundsCalculator | |
![]() | newInsetsGroupBoundsCalculator3(insetsDataProviderKey:Object):InsetsGroupBoundsCalculator [static]
Constructs an instance using the given DataProvider key. | InsetsGroupBoundsCalculator | |
![]() | newInsetsGroupBoundsCalculator4(insetsDataProviderKey:Object, defaultInsets:Insets):InsetsGroupBoundsCalculator [static]
Constructs an instance using the given DataProvider key and default insets. | InsetsGroupBoundsCalculator | |
[static]
Constructs an instance that uses the minimum size provided through the data provider registered at the input graph with the public key com.yworks.yfiles.layout.grouping.GroupingKeys.MINIMUM_NODE_SIZE_DPKEY. | MinimumSizeGroupBoundsCalculator | ||
newMinimumSizeGroupBoundsCalculator2(minSizeDataProviderKey:Object):MinimumSizeGroupBoundsCalculator [static]
Constructs an instance using the given DataProvider key. | MinimumSizeGroupBoundsCalculator | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | createEnlargedBounds(graph:LayoutGraph, groupNode:Node, children:NodeList, bounds:Rectangle2D):Rectangle2D
This method enlarges the given graph bounds by the insets associated with the given group node. | InsetsGroupBoundsCalculator | |
![]() |
Calculates and returns the united bounds of the given nodes only, no labels or adjacent edges are considered. | InsetsGroupBoundsCalculator | |
![]() |
Initializes this object. | InsetsGroupBoundsCalculator | |
![]() | initInsetsGroupBoundsCalculator2(insets:Insets):void
Initializes this object. | InsetsGroupBoundsCalculator | |
![]() | initInsetsGroupBoundsCalculator3(insetsDataProviderKey:Object):void
Initializes this object. | InsetsGroupBoundsCalculator | |
![]() | initInsetsGroupBoundsCalculator4(insetsDataProviderKey:Object, defaultInsets:Insets):void
Initializes this object. | InsetsGroupBoundsCalculator | |
Initializes this object. | MinimumSizeGroupBoundsCalculator | ||
initMinimumSizeGroupBoundsCalculator2(minSizeDataProviderKey:Object):void
Initializes this object. | MinimumSizeGroupBoundsCalculator | ||
| defaultMinimumNodeSize | property |
defaultMinimumNodeSize:YDimensionSpecifies the default minimum size for nodes.
By default this is a YDimension with length 0 and width 0.
public function get defaultMinimumNodeSize():YDimension public function set defaultMinimumNodeSize(value:YDimension):void| minimumNodeSizeDPKey | property |
minimumNodeSizeDPKey:ObjectSpecifies the DataProvider key that is used to get the minimum sizes for the nodes.
public function get minimumNodeSizeDPKey():Object public function set minimumNodeSizeDPKey(value:Object):void| xAlignment | property |
xAlignment:NumberSpecifies a value that describes how the node will be resized horizontally if the calculated width of com.yworks.yfiles.layout.grouping.InsetsGroupBoundsCalculator is smaller than the minimal width that is provided for the node. The default value is 0.5, which means the node will grow equally to the left and to the right, while the center stays put.
public function get xAlignment():Number public function set xAlignment(value:Number):voidSee also
| yAlignment | property |
yAlignment:NumberSpecifies a value that describes how the node will be resized vertically if the calculated height of com.yworks.yfiles.layout.grouping.InsetsGroupBoundsCalculator is smaller than the minimal height that is provided for the node. The default value is 0.5, which means the node will grow equally upwards and downwards, while the center stays put.
public function get yAlignment():Number public function set yAlignment(value:Number):voidSee also
| MinimumSizeGroupBoundsCalculator | () | Constructor |
public function MinimumSizeGroupBoundsCalculator(init:Boolean = true)Constructs an instance that uses the minimum size provided through the data provider registered at the input graph with the public key com.yworks.yfiles.layout.grouping.GroupingKeys.MINIMUM_NODE_SIZE_DPKEY.
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.
|
See also
| calculateBounds | () | method |
override public function calculateBounds(graph:LayoutGraph, groupNode:Node, children:NodeList):Rectangle2DParameters
graph:LayoutGraph | |
groupNode:Node | |
children:NodeList |
Rectangle2D |
| getClass | () | method |
override public function getClass():ClassReturnsClass |
| initMinimumSizeGroupBoundsCalculator1 | () | method |
protected final function initMinimumSizeGroupBoundsCalculator1():void
Initializes this object. See the documentation of the corresponding factory method newMinimumSizeGroupBoundsCalculator1() for details.
See also
| initMinimumSizeGroupBoundsCalculator2 | () | method |
protected final function initMinimumSizeGroupBoundsCalculator2(minSizeDataProviderKey:Object):void
Initializes this object. See the documentation of the corresponding factory method newMinimumSizeGroupBoundsCalculator2() for details.
Parameters
minSizeDataProviderKey:Object |
See also
| newMinimumSizeGroupBoundsCalculator1 | () | method |
public static function newMinimumSizeGroupBoundsCalculator1():MinimumSizeGroupBoundsCalculatorConstructs an instance that uses the minimum size provided through the data provider registered at the input graph with the public key com.yworks.yfiles.layout.grouping.GroupingKeys.MINIMUM_NODE_SIZE_DPKEY.
ReturnsMinimumSizeGroupBoundsCalculator |
See also
| newMinimumSizeGroupBoundsCalculator2 | () | method |
public static function newMinimumSizeGroupBoundsCalculator2(minSizeDataProviderKey:Object):MinimumSizeGroupBoundsCalculatorConstructs an instance using the given DataProvider key.
Parameters
minSizeDataProviderKey:Object — a DataProvider key that is used to get the minimum sizes for the nodes.
|
MinimumSizeGroupBoundsCalculator |