Packagecom.yworks.graph.model
Interfacepublic interface ILabelCollection extends Iterable
Implementors ListLabelCollection

A strongly typed readonly collection of ILabels used in IGraph implementations.

Normally, instances of this interface are obtained through the ILabeledItem.labels property of ILabeledItem instances.



Public Properties
 PropertyDefined By
  count : uint
[read-only] Returns the number of elements in this collection.
ILabelCollection
Public Methods
 MethodDefined By
  
getLabelAt(index:uint):ILabel
Returns the label at position index in the collection.
ILabelCollection
 Inherited
Returns an iterator over a set of elements.
Iterable
Property Detail
countproperty
count:uint  [read-only]

Returns the number of elements in this collection.


Implementation
    public function get count():uint
Method Detail
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

Returns
ILabel — The item for the given index