- I
- I
Remarks
This style is primarily intended for collapsed and expanded group nodes.
It supports drawing a handle that can then be used to trigger the TOGGLE_EXPANSION_STATE command. The style supports different handle visualizations for collapsed and expanded group nodes.
This style offers extensive configuration options for its shape, see properties cornerRadius, tabPosition, tabSlope, tabWidth, tabHeight, and tabPadding respectively.
Additionally, properties groupIcon, folderIcon, iconBackgroundShape, iconPosition, iconOffset, and iconSize determine the shape, position, and size of the icon representing the style's collapse/expand handle.
See Also
Developer's Guide
Members
Constructors
Properties
The "content area" is the area defined by the node's layout minus tabHeight from the tabPosition side and minus tabPadding from all sides. It is only visible if showFolderContentArea is set to true.
The default value is WHITE.
Gets or sets the padding of the content area for this style.
The IGroupPaddingProvider that can be queried from this style's renderer instance will use this padding together with this style's tabPadding and tab geometry to calculate total padding for child nodes of an expanded group node.
The default value is padding of 4 on all sides.
See Also
Developer's Guide
Negative values are treated as 0.0.
The default value is 4.0.
See Also
Developer's Guide
The default value is an empty string, in which case no class is set for the visualization.
Multiple classes can be set by separating them with spaces, just like with the SVG class attribute.
See Also
Developer's Guide
false.See Also
Developer's Guide
Gets or sets the type of icon for collapsed nodes.
Gets or sets the type of icon for expanded nodes.
In this context, "hit transparent" means the area in question is not considered to be a part of the node for the purpose of hit testing, marquee selection testing, and lasso selection testing.
The "content area" is the area defined by the node's layout minus tabHeight from the tabPosition side and minus tabPadding from all sides.
The default value is false.
See Also
Developer's Guide
Gets or sets the type of background shape of the icon.
r=170, g=170, b=170.See Also
Developer's Guide
The icon for this style's collapse/expand handle is "anchored" to two sides of the node: the first side is determined by tabPosition and the second side by iconPosition. The sum of tabPadding and this offset determines the distance of the icon to the icon's two anchor sides.
The default value is 0.0.
See Also
Developer's Guide
Gets or sets the position of the icon.
The icon for the collapse/expand handle is placed on the same side as the style's tab. The icon position determines the placement of the icon along that side.
For top and bottom tabs, Leading means left and Trailing means right; for left and right tabs, Leading means top and Trailing means bottom.
The default value is TRAILING.
See Also
Developer's Guide
14.0.See Also
Developer's Guide
Gets or sets the minimum size of the content area.
The contentAreaPadding is included in the minimum size.
The "content area" is the area defined by the node's layout minus tabHeight from the tabPosition side and minus tabPadding from all sides. On the other hand, the minimum size of the whole node is calculated as the minimum content area size, plus the tabPadding from all sides and the tabHeight and/or the iconSize.
The default value is (0,0).
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
const creator = style.renderer.getVisualCreator(node, style)
const visual = creator.createVisual(context)Implements
INodeStyle.rendererGets or sets a value indicating whether to allow transparent Filles for the content area.
This will "cut out" a hole in the group node visualization for the content area, instead of overlaying the content area over the rest of the visualization. Thus, transparency for contentAreaFill will show what is behind the node (e.g. background visualizations, parent group nodes, etc.).
The "content area" is the area defined by the node's layout minus tabHeight from the tabPosition side and minus tabPadding from all sides.
The default value is false.
See Also
Developer's Guide
The "content area" is the area defined by the node's layout minus tabHeight from the tabPosition side and minus tabPadding from all sides.
The default value is false.
See Also
Developer's Guide
The default value is null.
Note that when setting the tabWidth to 0 and the tabSlope to a positive value, the stroke should have a much smaller miterLimit than the default value of 10. Otherwise, a sharp spike may appear outside the node, at the corner where the tab slope is located.
See Also
Developer's Guide
The tab background is only visible for tab positions TOP_LEADING, TOP_TRAILING, BOTTOM_LEADING, BOTTOM_TRAILING, LEFT_LEADING, LEFT_TRAILING, RIGHT_LEADING, and RIGHT_TRAILING, if tabWidth is less than the length of the side that shows the tab and tabHeight is greater than 0.0.
The default value is null.
r=170, g=170, b=170.For top and bottom tabs, this is the size in y-direction; for left and right tabs, this is the size in x-direction.
Negative values are treated as 0.0.
The default value is 18.0.
See Also
Developer's Guide
The tab padding is the distance from the border to the style's content area (for the three sides without tab).
Negative values are treated as 0.0.
The default value is 4.0.
See Also
Developer's Guide
Gets or sets the position of the tab.
Tab positions TOP, BOTTOM, LEFT, and RIGHT result in a ribbon that spans the respective side. Property tabWidth is ignored for these positions.
For top and bottom tabs, Leading means left and Trailing means right; for left and right tabs, Leading means top and Trailing means bottom.
The default value is TOP.
See Also
Developer's Guide
Gets or sets the policy that determines how to calculate the size of the tab.
The size of the tab depends on the properties of the style and the size of the node. Additionally, the size of the tab may depend on the preferred width of tab or tab background labels.
The default value is FIXED. The size of the tab is determined by tabWidth and does not depend on tab or tab background labels in this case.
See Also
Developer's Guide
API
- tabWidth, tabHeight, tabSlope, cornerRadius, GroupNodeLabelModel
Negative values are treated as 0.0.
The default value is 0.5.
See Also
Developer's Guide
For top and bottom tabs, this is the size in x-direction, for left and right tabs, this is the size in y-direction.
Negative values are treated as 0.0.
If the tabSizePolicy is set to ADJUST_TO_LABEL the tabWidth determines the preferred width which might be ignored if the group node's label is too large to fit.
The default value is 50.0.
See Also
Developer's Guide