|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LabeledElement
An graph element (vertex or edge) that can have a label.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |