public interface LabeledElement
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getLabel()
Returns the element's label, or
null if element has no
label. |
boolean |
hasLabel()
Tests if this element has a label.
|
void |
setLabel(java.lang.Object label)
Sets the specified label object to this element.
|
void setLabel(java.lang.Object label)
label - a label to set to this element.java.lang.Object getLabel()
null if element has no
label.null if element has no
label.boolean hasLabel()
true if the element has a label, otherwise
false.