com.spire.presentation.diagrams
Interface ISmartArtNodeCollection

All Superinterfaces:
com.spire.ms.System.Collections.IEnumerable, java.lang.Iterable

public interface ISmartArtNodeCollection
extends com.spire.ms.System.Collections.IEnumerable


Method Summary
 ISmartArtNode addNode()
          Add new smart art node or sub node.
 ISmartArtNode addNodeByPosition(int position)
           
 void copyTo(java.lang.Object[] array, int index)
          Copies all elements from the collection to the specified array.
 ISmartArtNode get(int index)
          Getsnode by index
 int getCount()
          Gets count of nodes in collection
 ISmartArtNode getNodeByPosition(int position)
          Get node by selected position
 java.lang.Object getSyncRoot()
          Gets a synchronization root.
 boolean isSynchronized()
          Gets a value indicating whether access to the collection is synchronized (thread-safe).
 void removeNode(int index)
          Remove node or sub node by index
 void removeNode(ISmartArtNode node)
          Remove node or sub node
 boolean removeNodeByPosition(int position)
          Remove node from selected position
 

Method Detail

getCount

int getCount()
Gets count of nodes in collection

Returns:

get

ISmartArtNode get(int index)
Getsnode by index

Parameters:
index -
Returns:

addNode

ISmartArtNode addNode()
                      throws DocumentEditException
Add new smart art node or sub node.

Returns:
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
PptReadException
DocumentEditException
PptxException

removeNode

void removeNode(int index)
                throws DocumentEditException
Remove node or sub node by index

Parameters:
index -
Throws:
PptException
java.lang.reflect.InvocationTargetException
DocumentEditException
PptxException
java.lang.InstantiationException
java.lang.IllegalAccessException

removeNode

void removeNode(ISmartArtNode node)
                throws DocumentEditException
Remove node or sub node

Parameters:
node -
Throws:
java.lang.IllegalAccessException
PptReadException
DocumentEditException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
PptxException

getNodeByPosition

ISmartArtNode getNodeByPosition(int position)
Get node by selected position

Parameters:
position -
Returns:

removeNodeByPosition

boolean removeNodeByPosition(int position)
                             throws DocumentEditException
Remove node from selected position

Parameters:
position -
Returns:
Throws:
java.lang.IllegalAccessException
PptReadException
DocumentEditException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
PptxException

addNodeByPosition

ISmartArtNode addNodeByPosition(int position)
                                throws DocumentEditException
Parameters:
position - : postion of node in smartArt.
Returns:
smartArt node.
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
PptxException
PptReadException
DocumentEditException

copyTo

void copyTo(java.lang.Object[] array,
            int index)
Copies all elements from the collection to the specified array.

Parameters:
array -
index -

isSynchronized

boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread-safe).

Returns:

getSyncRoot

java.lang.Object getSyncRoot()
Gets a synchronization root. Readonly .

Returns: