public interface LabeledElement extends IDElement, Labeled
Modifier and Type | Method and Description |
---|---|
AbstractLabel |
createLabel(boolean createIfExist)
Create the element associated label.
|
default LabelPlacement |
createLabelPlacement()
Create the label placement.
|
AbstractLabel |
getLabel()
Return the element associated label.
|
default LabelPlacement |
getLabelPlacement()
Return the label placement.
|
java.lang.String |
getLabelText()
Return the element label text.
|
void |
updateLabel()
Called when the label is updated.
|
getDescription, getID, getURL, getURLAsString, hasDescription, hasURL, isTemplate, setDescription, setURL, setURL
AbstractLabel getLabel()
default LabelPlacement createLabelPlacement()
default LabelPlacement getLabelPlacement()
AbstractLabel createLabel(boolean createIfExist)
createIfExist
- true if a new label will be created even if it already existsvoid updateLabel()
java.lang.String getLabelText()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence