A data container representing the state of a label at a FolderNodeState or FoldingEdgeState.
Inheritance Hierarchy
Remarks
When the properties of the state are changed, these changes are reflected immediately in the views.
This class cannot be instantiated
Examples
const state = manager.getFolderNodeState(masterNode)
const labelState = state.labels.get(0)
labelState.text = 'New Label Text'const state = manager.getFolderNodeState(masterNode)
const style = new LabelStyle()
state.addLabel(
'Folder Label',
InteriorNodeLabelModel.TOP_RIGHT,
style,
new Size(20, 10),
)See Also
Developer's Guide
API
- labels, addLabel, removeLabel
Members
No filters for this type
Properties
Gets or sets the ILabelModelParameter used to describe the label's layout.
Gets or sets the ILabelModelParameter used to describe the label's layout.
final
Gets or sets the preferred size of the label.
Gets or sets the preferred size of the label.
conversionfinal
Gets or sets the style of this label.
Gets or sets the style of this label.
final
Methods
The returned label is not present in any graph but may be passed to getViewItem to get the label state's view label in the folding view graph.
final