Class: webCGMNodeList

webCGMNodeList


new webCGMNodeList()

webCGMNodeList constructor

Methods


appendItem(The) → {webCGMNode}

Inserts a new item at the end of the list. If newItem is already in a list, it is removed from its previous list before it is inserted into this list
Parameters:
Name Type Description
The webCGMNode item which is to be inserted into the list.
Returns:
The inserted item

Type: webCGMNode


getCount() → {long}

Returns a count of the number of webCGMNodes in the node list
Returns:
count

Type: long


item() → {webCGMNode}

Returns the indexed item in the node list
Returns:
The node of the indexed position in the WebCGMNodeList, or null if that is not a valid index

Type: webCGMNode


removeItem(Index) → {webCGMNode}

Removes an existing item from the node list
Parameters:
Name Type Description
Index long into the collection
Returns:
The removed item

Type: webCGMNode