A label model for group node labels that are placed inside the tab or tab background area of a GroupNodeStyle instance.
Implements
- I
Members
No filters for this type
Constructors
Properties
Gets or sets a value that determines if the label geometry calculated by this model takes the tabPadding into account.
Gets or sets a value that determines if the label geometry calculated by this model takes the tabPadding into account.
If true, the label geometry will fill the area between group or folder icon and the outer border of the tab (background) area only up to a distance of tabPadding to the icon and border. If false, the label geometry will fill the aforementioned area completely.
The default value is true.
final
Methods
Creates a parameter that places labels inside the tab background area of a GroupNodeStyle.
Creates a parameter that places labels inside the tab background area of a GroupNodeStyle.
final
Return Value
- GroupNodeLabelModelParameter
- A parameter that places labels inside the tab background area of a GroupNodeStyle.
See Also
Developer's Guide
Creates a parameter that places labels inside the tab area of a GroupNodeStyle instance.
Creates a parameter that places labels inside the tab area of a GroupNodeStyle instance.
final
Return Value
- GroupNodeLabelModelParameter
- A parameter that places labels inside the tab area of a GroupNodeStyle instance.
See Also
Developer's Guide
Provides a lookup context for the given label.
Provides a lookup context for the given label.
final
Parameters
- label: ILabel
- The label to use in the context.
Return Value
- ILookup
- An implementation of the ILookup interface that can be used to query additional aspects of the label.
Implements
ILabelModel.getContextCalculates the geometry of the given label using the given model parameter.
Calculates the geometry of the given label using the given model parameter.
final
Parameters
- label: ILabel
- The label to calculate the geometry for.
- layoutParameter: ILabelModelParameter
- A parameter that is compatible with this model. Typically, this is a parameter that has been created by this model, and its property model returns this instance.
Return Value
- IOrientedRectangle
- An IOrientedRectangle that describes the geometry of the label. This is typically designed as a flyweight, therefore clients should not cache the instance but store the values if they need a snapshot for later use.