|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.SmartArtNodeCollection
public class SmartArtNodeCollection
Represents a collection of SmartArt nodes.
Method Summary | |
---|---|
ISmartArtNode |
addNode()
Add new smart art node or sub node. |
ISmartArtNode |
addNodeByPosition(int position)
Add new node in the selected position of nodes collection |
void |
copyTo(ISmartArtNode[] array,
int index)
Copies all elements from the collection to the specified array. |
ISmartArtNode |
get_Item(int index)
Returns node by index |
ISmartArtNode |
getNodeByPosition(int position)
Deprecated. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtNode> |
iterator()
Returns an enumerator that iterates through the collection. |
void |
removeNode(int index)
Remove node or sub node by index |
void |
removeNode(ISmartArtNode node)
Remove node or sub node |
boolean |
removeNodeByPosition(int position)
Deprecated. |
int |
size()
Returns count of nodes in collection Read-only int . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ISmartArtNode get_Item(int index)
Returns node by index
get_Item
in interface ISmartArtNodeCollection
index
- The zero-based index of the element
public int size()
Returns count of nodes in collection
Read-only int
.
size
in interface IGenericCollection<ISmartArtNode>
@Deprecated public ISmartArtNode getNodeByPosition(int position)
ISmartArtNodeCollection
Get node by position between siblings.
getNodeByPosition
in interface ISmartArtNodeCollection
position
- Zero-based position.
public ISmartArtNode addNode()
Add new smart art node or sub node.
addNode
in interface ISmartArtNodeCollection
public void removeNode(int index)
Remove node or sub node by index
removeNode
in interface ISmartArtNodeCollection
index
- Zero-based index of node
com.aspose.ms.System.ArgumentOutOfRangeException
- index is less than 0. -or- index is equal to or greater than siblings countpublic void removeNode(ISmartArtNode node)
Remove node or sub node
removeNode
in interface ISmartArtNodeCollection
node
- Node to remove@Deprecated public boolean removeNodeByPosition(int position)
ISmartArtNodeCollection
Remove node from selected position.
removeNodeByPosition
in interface ISmartArtNodeCollection
position
- Zero-based position.
public ISmartArtNode addNodeByPosition(int position)
Add new node in the selected position of nodes collection
addNodeByPosition
in interface ISmartArtNodeCollection
position
- Zero-base node position
com.aspose.ms.System.ArgumentOutOfRangeException
- position is less than 0public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtNode> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISmartArtNode>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<ISmartArtNode>
iterator
in interface java.lang.Iterable<ISmartArtNode>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(ISmartArtNode[] array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface IGenericCollection<ISmartArtNode>
array
- index
- public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<ISmartArtNode>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<ISmartArtNode>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |