com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SmartArtNodeCollection

  • java.lang.Object
    • com.aspose.slides.SmartArtNodeCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      ISmartArtNode get_Item(int index)
      Returns node by index
      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.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtNode> iteratorJava()
      Returns a java iterator for the entire collection.
      void removeNode(int index)
      Remove node or sub node by index
      void removeNode(ISmartArtNode node)
      Remove node or sub node
      int size()
      Returns count of nodes in collection Read-only int Read-only int.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        public final ISmartArtNode get_Item(int index)

        Returns node by index

        Specified by:
        get_Item in interface ISmartArtNodeCollection
        Parameters:
        index - The zero-based index of the element
        Returns:
        The SmartArt node
      • size

        public final int size()

        Returns count of nodes in collection Read-only int Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection<ISmartArtNode>
      • removeNode

        public final void removeNode(int index)

        Remove node or sub node by index

        Specified by:
        removeNode in interface ISmartArtNodeCollection
        Parameters:
        index - Zero-based index of node
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - index is less than 0. -or- index is equal to or greater than siblings count
      • addNodeByPosition

        public final ISmartArtNode addNodeByPosition(int position)

        Add new node in the selected position of nodes collection

        Specified by:
        addNodeByPosition in interface ISmartArtNodeCollection
        Parameters:
        position - Zero-base node position
        Returns:
        Added node
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - position is less than 0
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtNode> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISmartArtNode>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<ISmartArtNode>
        Specified by:
        iterator in interface java.lang.Iterable<ISmartArtNode>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • iteratorJava

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtNode> iteratorJava()

        Returns a java iterator for the entire collection.

        Specified by:
        iteratorJava in interface IGenericCollection<ISmartArtNode>
        Returns:
        An Iterator for the entire collection.
      • copyTo

        public final void copyTo(com.aspose.ms.System.Array array,
                                 int index)

        Copies all elements from the collection to the specified array.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection<ISmartArtNode>
        Parameters:
        array - Target array.
        index - Starting index in the target array.
      • isSynchronized

        public final boolean isSynchronized()

        Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ISmartArtNode>
      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<ISmartArtNode>