Package | com.yworks.graph.model |
Interface | public interface ILabelCollection extends Iterable |
Implementors | ListLabelCollection |
ILabel
s
used in IGraph
implementations.
Normally, instances of this interface are obtained through the
ILabeledItem.labels
property of ILabeledItem
instances.
Property | Defined By | ||
---|---|---|---|
count : uint [read-only]
Returns the number of elements in this collection. | ILabelCollection |
Method | Defined By | ||
---|---|---|---|
getLabelAt(index:uint):ILabel
Returns the label at position index in the collection. | ILabelCollection | ||
Returns an iterator over a set of elements. | Iterable |
count | property |
count:uint
[read-only] Returns the number of elements in this collection.
public function get count():uint
getLabelAt | () | method |
public function getLabelAt(index:uint):ILabel
Returns the label at position index
in the collection.
Parameters
index:uint — The zero-based index of the item in this collection
|
ILabel — The item for the given index
|