com.aspose.slides
Class PieSplitCustomPointCollection

java.lang.Object
  extended by com.aspose.slides.PieSplitCustomPointCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataPoint>, com.aspose.ms.System.Collections.IEnumerable<IChartDataPoint>, IPieSplitCustomPointCollection, java.lang.Iterable<IChartDataPoint>

public class PieSplitCustomPointCollection
extends java.lang.Object
implements IPieSplitCustomPointCollection

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


Method Summary
 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 T:System.Collections.Generic.ICollection`1.
 boolean containsItem(IChartDataPoint item)
           Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.
 void copyToTArray(IChartDataPoint[] array, int arrayIndex)
           Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array, starting at a particular T:System.Array index.
 IChartDataPoint get_Item(int index)
           Returns chart data point by index.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 boolean isReadOnly()
           Gets a value indicating whether the T: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.
 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
 

Method Detail

get_Item

public final IChartDataPoint get_Item(int index)
Description copied from interface: IPieSplitCustomPointCollection

Returns chart data point by index.

Specified by:
get_Item in interface IPieSplitCustomPointCollection
Parameters:
index - Index of data-point.
Returns:
Chart data point.

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 final 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 final 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.

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 T:System.Collections.Generic.ICollection`1.

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

containsItem

public final boolean containsItem(IChartDataPoint item)

Determines whether the T: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 T:System.Collections.Generic.ICollection`1.
Returns:
true if item is found in the T:System.Collections.Generic.ICollection`1; otherwise, false.

copyToTArray

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

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

Specified by:
copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
Parameters:
array - The one-dimensional T:System.Array that is the destination of the elements copied from T:System.Collections.Generic.ICollection`1. The T:System.Array must have zero-based indexing.
arrayIndex - The zero-based index in array at which copying begins.
Throws:
T:System.ArgumentNullException - array is null.
T:System.ArgumentOutOfRangeException - arrayIndex is less than 0.
T:System.ArgumentException - The number of elements in the source T: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 T:System.Collections.Generic.ICollection`1 is read-only. Read-only bool.

Specified by:
isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
Returns:
true if the T: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 bool.


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 T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.