PieSplitCustomPointCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IPieSplitCustomPointCollection

public class PieSplitCustomPointCollection implements IPieSplitCustomPointCollection

Represents a collection of points for splitting point in a bar-of-pie or pie-of-pie chart with a custom split.

Methods

MethodDescription
get_Item(int index)Returns chart data point for specified index.
add(int dataPointIndex)Adds data point by its index in parent series points collection.
addItem(IChartDataPoint dataPoint)Adds data point to collection.
removeItem(IChartDataPoint dataPoint)Removes item from collection.
remove(int dataPointIndex)Removes item from collection by it index in parent series points collection.
clear()Removes all items from the IGenericCollection.
containsItem(IChartDataPoint item)Determines whether the IGenericCollection contains a specific value.
copyToTArray(IChartDataPoint[] array, int arrayIndex)Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.
size()Returns or sets the count of chart data points.
isReadOnly()Gets a value indicating whether the IGenericCollection is read-only.
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe).
getSyncRoot()Returns a synchronization root.
iterator()Returns an enumerator that iterates through the collection.
iteratorJava()Returns a java iterator for the entire collection.

get_Item(int index)

public final IChartDataPoint get_Item(int index)

Returns chart data point for specified index.

Parameters:

ParameterTypeDescription
indexintIndex.

Returns: IChartDataPoint - Chart data point.

add(int dataPointIndex)

public final void add(int dataPointIndex)

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

Parameters:

ParameterTypeDescription
dataPointIndexintIndex of data point in parent series points collection.

addItem(IChartDataPoint dataPoint)

public void addItem(IChartDataPoint dataPoint)

Adds data point to collection.

Parameters:

ParameterTypeDescription
dataPointIChartDataPointData point add to.

removeItem(IChartDataPoint dataPoint)

public boolean removeItem(IChartDataPoint dataPoint)

Removes item from collection.

Parameters:

ParameterTypeDescription
dataPointIChartDataPointData point remove to.

Returns: boolean - 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(int dataPointIndex)

public final void remove(int dataPointIndex)

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

Parameters:

ParameterTypeDescription
dataPointIndexintIndex of data point in parent series points collection.

clear()

public final void clear()

Removes all items from the IGenericCollection.

containsItem(IChartDataPoint item)

public boolean containsItem(IChartDataPoint item)

Determines whether the IGenericCollection contains a specific value.

Parameters:

ParameterTypeDescription
itemIChartDataPointThe object to locate in the IGenericCollection.

Returns: boolean - true if item is found in the IGenericCollection; otherwise, false.

copyToTArray(IChartDataPoint[] array, int arrayIndex)

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

Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

ParameterTypeDescription
arrayIChartDataPoint[]The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

size()

public final int size()

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

Returns: int

isReadOnly()

public final boolean isReadOnly()

Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean - true if the IGenericCollection 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.

Returns: boolean

getSyncRoot()

public final Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Returns: java.lang.Object

iterator()

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

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataPoint> - A IGenericEnumerator that can be used to iterate through the collection.

iteratorJava()

public final System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iteratorJava()

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataPoint> - An java.util.Iterator for the entire collection.