| Package | com.yworks.graph.model |
| Class | public class ListLabelCollection |
| Inheritance | ListLabelCollection Object |
| Implements | ILabelCollection |
ILabelCollection
interface that is backed by a list
| Property | Defined By | ||
|---|---|---|---|
| count : uint [read-only]
Returns the number of elements in this collection. | ListLabelCollection | ||
| Method | Defined By | ||
|---|---|---|---|
Adds a label to the list. | ListLabelCollection | ||
getLabelAt(index:uint):ILabel
Returns the label at position index in the collection. | ListLabelCollection | ||
Returns an iterator over a set of elements. | ListLabelCollection | ||
Removes a label from the list. | ListLabelCollection | ||
| count | property |
count:uint [read-only] Returns the number of elements in this collection.
public function get count():uint| add | () | method |
public function add(label:ILabel):voidAdds a label to the list.
Parameters
label:ILabel — The label to add.
|
| 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
|
| iterator | () | method |
public function iterator():IteratorReturns an iterator over a set of elements.
ReturnsIterator — an Iterator.
|
| remove | () | method |
public function remove(label:ILabel):voidRemoves a label from the list.
Parameters
label:ILabel — The label to be removed.
|