com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PieSplitCustomPointCollection

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(int dataPointIndex)
      Adds data point by its index in parent series points collection.
      void addItem(IChartDataPoint dataPoint)
      Adds data point to collection.
      void clear()
      Removes all items from the System.Collections.Generic.ICollection`1.
      boolean containsItem(IChartDataPoint item)
      Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
      void copyToTArray(IChartDataPoint[] array, int arrayIndex)
      Copies the elements of the System.Collections.Generic.ICollection`1 to an Array, starting at a particular Array index.
      IChartDataPoint get_Item(int index)
      Returns chart data point for specified index.
      java.lang.Object getSyncRoot()
      Returns a synchronization root.
      boolean isReadOnly()
      Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
      boolean isSynchronized()
      Returns a value indicating whether access to the collection is synchronized (thread-safe).
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iteratorJava()
      Returns a java iterator for the entire collection.
      void remove(int dataPointIndex)
      Removes item from collection by it index in parent series points collection.
      boolean removeItem(IChartDataPoint dataPoint)
      Removes item from collection.
      int size()
      Returns or sets the count of chart data points.
      • 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

      • add

        public final void add(int dataPointIndex)

        Adds data point by its index in parent series points collection.

        Specified by:
        add in interface IPieSplitCustomPointCollection
        Parameters:
        dataPointIndex - Index of data point in parent series points collection.
      • addItem

        public void addItem(IChartDataPoint dataPoint)

        Adds data point to collection.

        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
        Parameters:
        dataPoint - Data point add to.
      • removeItem

        public boolean removeItem(IChartDataPoint dataPoint)

        Removes item from collection.

        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
        Parameters:
        dataPoint - Data point remove to.
        Returns:
        true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the System.Collections.Generic.List{T}.
      • remove

        public final void remove(int dataPointIndex)

        Removes item from collection by it index in parent series points collection.

        Specified by:
        remove in interface IPieSplitCustomPointCollection
        Parameters:
        dataPointIndex - Index of data point in parent series points collection.
      • clear

        public final void clear()

        Removes all items from the System.Collections.Generic.ICollection`1.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
      • containsItem

        public boolean containsItem(IChartDataPoint item)

        Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
        Parameters:
        item - The object to locate in the System.Collections.Generic.ICollection`1.
        Returns:
        true if item is found in the System.Collections.Generic.ICollection`1; otherwise, false.
      • copyToTArray

        public void copyToTArray(IChartDataPoint[] array,
                                 int arrayIndex)

        Copies the elements of the System.Collections.Generic.ICollection`1 to an Array, starting at a particular Array index.

        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
        Parameters:
        array - The one-dimensional Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The Array must have zero-based indexing.
        arrayIndex - The zero-based index in array at which copying begins.
        Throws:
        com.aspose.ms.System.ArgumentNullException - array is null.
        com.aspose.ms.System.ArgumentOutOfRangeException - arrayIndex is less than 0.
        com.aspose.ms.System.ArgumentException - The number of elements in the source System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.
      • size

        public final int size()

        Returns or sets the count of chart data points. Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
      • isReadOnly

        public final boolean isReadOnly()

        Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only. Read-only boolean.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
        Returns:
        true if the System.Collections.Generic.ICollection`1 is read-only; otherwise, false.
      • isSynchronized

        public final boolean isSynchronized()

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

      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

      • iterator

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

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataPoint>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataPoint>
        Specified by:
        iterator in interface java.lang.Iterable<IChartDataPoint>
        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<IChartDataPoint> iteratorJava()

        Returns a java iterator for the entire collection.

        Returns:
        An Iterator for the entire collection.