This class allows specifying temporary groups for nodes that are considered by the TemporaryGroupInsertionStage.
Inheritance Hierarchy
Remarks
More precisely, nodes mapped to the same TemporaryGroupDescriptor instance will form a temporary group inserted by the stage. This mapping is specified by property temporaryGroups. A TemporaryGroupDescriptor may have a reference to its parent which allows to create a hierarchically nested grouping structure.
Members
No filters for this type
Constructors
TemporaryGroupDescriptor
(parent?: TemporaryGroupDescriptor, recursiveGroupLayoutAlgorithm?: ILayoutAlgorithm)Creates a new instance of TemporaryGroupDescriptor using the given descriptor as parent and the ILayoutAlgorithm that is considered by the RecursiveGroupLayout.
TemporaryGroupDescriptor
(parent?: TemporaryGroupDescriptor, recursiveGroupLayoutAlgorithm?: ILayoutAlgorithm)Creates a new instance of TemporaryGroupDescriptor using the given descriptor as parent and the ILayoutAlgorithm that is considered by the RecursiveGroupLayout.
If the applied TemporaryGroupInsertionStage uses the RecursiveGroupLayout as coreLayout, the recursive group layout algorithm specified here is responsible for the arrangement of the nodes belonging to this temporary group. Internally, the temporary inserted group node that encloses the nodes is automatically mapped by property groupNodeLayouts.
The specified recursive group layout algorithm is only considered if the used coreLayout is of type RecursiveGroupLayout.
Parameters
- parent?: TemporaryGroupDescriptor
- the parent temporary group of this group
- recursiveGroupLayoutAlgorithm?: ILayoutAlgorithm
- the layout algorithm that is applied in each recursion step
Properties
If the bounds have not yet been computed, the value is of this property EMPTY.
If the TemporaryGroupInsertionStage uses a coreLayout that can handle group nodes, all nodes associated with this temporary group should be placed within the returned bounds.
readonlyfinal
Property Value
the bounds of the temporary group
The specified margins are only considered if the TemporaryGroupInsertionStage uses a coreLayout that can handle group nodes and node margins.
conversionfinal
Property Value
The margins of the temporary group
Default Value
The default value is: Insets.EMPTY
The temporary group has no margins.
Gets or sets the minimum size of this temporary group.
Gets or sets the minimum size of this temporary group.
The specified minimum size is only considered if the TemporaryGroupInsertionStage uses a coreLayout that can handle group nodes and minimum group sizes.
conversionfinal
Property Value
The minimum size of this temporary group.
Default Value
The default value is: Size.EMPTY
The temporary group has no minimum size constraint.
The specified padding is only considered if the TemporaryGroupInsertionStage uses a coreLayout that can handle group nodes.
conversionfinal
Property Value
The padding of this temporary group.
Default Value
The default value is: Insets.EMPTY
The temporary group has no padding.
Gets or sets the parent group of this temporary group.
Gets or sets the parent group of this temporary group.
Gets or sets the ILayoutAlgorithm that is considered by the RecursiveGroupLayout when arranging the nodes belonging to this temporary group.
Gets or sets the ILayoutAlgorithm that is considered by the RecursiveGroupLayout when arranging the nodes belonging to this temporary group.
If the applied TemporaryGroupInsertionStage uses the RecursiveGroupLayout as coreLayout, the recursive group layout algorithm specified here is responsible for the arrangement of the nodes belonging to this temporary group. Internally, the temporary inserted group node that encloses the nodes is automatically mapped by property groupNodeLayouts.
The specified recursive group layout algorithm is only considered if the used coreLayout is of type RecursiveGroupLayout.
final
Property Value
The ILayoutAlgorithm that is considered by the RecursiveGroupLayout.
Default Value
The default value is: null