| Package | com.yworks.graph.model |
| Interface | public interface IPortCollection extends Iterable |
IPorts
used in implementations.
Normally, instances of this interface are obtained through the
IPortOwner.ports property of IPortOwner
instances, typically INode.
| Property | Defined By | ||
|---|---|---|---|
| count : uint [read-only]
Returns the number of elements in this collection. | IPortCollection | ||
| Method | Defined By | ||
|---|---|---|---|
Returns the port at position index in the collection. | IPortCollection | ||
![]() |
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| getPort | () | method |
public function getPort(index:uint):IPort
Returns the port at position index in the collection.
Parameters
index:uint — The zero-based index of the item in this collection
|
IPort — The item for the given index
|