@OpenApiAll
public final class TreeNodeAdornmentManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addIconAdornment(IconAdornment adornment)
Add icon adornment.
|
void |
addNodeIconAdornment(NodeIconAdornment adornment)
Add node icon adornment.
|
void |
addTextAdornment(TextAdornment adornment)
Add text adornment.
|
(package private) java.util.List<IconAdornment> |
getIconAdornments()
Get icon adornments.
|
static TreeNodeAdornmentManager |
getInstance()
Get singleton instance.
|
(package private) java.util.List<NodeIconAdornment> |
getNodeIconAdornments()
Get node icon adornments.
|
(package private) java.util.List<TextAdornment> |
getTextAdornments()
Get text adornments.
|
void |
removeIconAdornment(IconAdornment adornment)
Remove registered icon adornment.
|
void |
removeNodeIconAdornment(NodeIconAdornment adornment)
Remove registered node icon adornment.
|
void |
removeTextAdornment(TextAdornment adornment)
Remove registered text adornment.
|
public static TreeNodeAdornmentManager getInstance()
public void addIconAdornment(IconAdornment adornment)
adornment
- icon adornment to register.public void removeIconAdornment(IconAdornment adornment)
adornment
- icon adornment to remove.public void addNodeIconAdornment(NodeIconAdornment adornment)
adornment
- icon adornment to register.public void removeNodeIconAdornment(NodeIconAdornment adornment)
adornment
- icon adornment to remove.public void addTextAdornment(TextAdornment adornment)
adornment
- text adornment to register.public void removeTextAdornment(TextAdornment adornment)
adornment
- text adornment to remove.java.util.List<IconAdornment> getIconAdornments()
java.util.List<NodeIconAdornment> getNodeIconAdornments()
java.util.List<TextAdornment> getTextAdornments()