@OpenApiAll
public final class TreeNodeAdornmentManager
extends java.lang.Object
IconAdornment
, NodeIconAdornment
, TextAdornment
, and NodeTextAdornment
.Modifier and Type | Method and Description |
---|---|
void |
addIconAdornment(IconAdornment adornment)
Add icon adornment.
|
void |
addNodeIconAdornment(NodeIconAdornment adornment)
Add node icon adornment.
|
void |
addNodeTextAdornment(NodeTextAdornment adornment)
Add node text 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<NodeTextAdornment> |
getNodeTextAdornments()
Get node text 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(NodeTextAdornment adornment)
Remove registered node text 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 registerpublic 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.public void addNodeTextAdornment(NodeTextAdornment adornment)
adornment
- text adornment to registerpublic void removeTextAdornment(NodeTextAdornment adornment)
adornment
- text adornment to removejava.util.List<IconAdornment> getIconAdornments()
java.util.List<NodeIconAdornment> getNodeIconAdornments()
java.util.List<TextAdornment> getTextAdornments()
java.util.List<NodeTextAdornment> getNodeTextAdornments()