public interface ILabelOwner extends IModelItem
IGraph
implementation that may own labels
.
Like all items in an IGraph
, this item supports the ILookup.lookup(java.lang.Class)
method that can be
used to query additional aspects of the item.
Modifier and Type | Method and Description |
---|---|
IListEnumerable<ILabel> |
getLabels()
Provides access to a collection of
labels that are owned by this instance. |
createDictionaryLookup, createDynamic, createSingle, createSingle, createWrapped, lookup, lookup, lookup, safeLookup
IListEnumerable<ILabel> getLabels()
labels
that are owned by this instance.
This gives access to a read-only live view of the labels, i.e. the collection can change over time, as well as the labels contained in it. If a snapshot of the current state is needed, one needs to copy the collection and its contents.