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.
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
IGenericCollection . |
boolean |
containsItem(IChartDataPoint item)
Determines whether the
IGenericCollection contains a specific value. |
void |
copyToTArray(IChartDataPoint[] array,
int arrayIndex)
|
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
IGenericCollection 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.
|
public final IChartDataPoint get_Item(int index)
Returns chart data point for specified index.
get_Item
in interface IPieSplitCustomPointCollection
index
- Index.public final void add(int dataPointIndex)
Adds data point by its index in parent series points collection.
add
in interface IPieSplitCustomPointCollection
dataPointIndex
- Index of data point in parent series points collection.public void addItem(IChartDataPoint dataPoint)
Adds data point to collection.
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
dataPoint
- Data point add to.public boolean removeItem(IChartDataPoint dataPoint)
Removes item from collection.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
dataPoint
- Data point remove to.public final void remove(int dataPointIndex)
Removes item from collection by it index in parent series points collection.
remove
in interface IPieSplitCustomPointCollection
dataPointIndex
- Index of data point in parent series points collection.public final void clear()
Removes all items from the IGenericCollection
.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
public boolean containsItem(IChartDataPoint item)
Determines whether the IGenericCollection
contains a specific value.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
item
- The object to locate in the IGenericCollection
.IGenericCollection
; otherwise, false.public void copyToTArray(IChartDataPoint[] array, int arrayIndex)
Copies the elements of the IGenericCollection
to an Array
, starting at a particular Array
index.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
array
- The one-dimensional Array
that is the destination of the elements copied from IGenericCollection
. The Array
must have zero-based indexing.arrayIndex
- The zero-based index in array at which copying begins.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 IGenericCollection
is greater than the available space from arrayIndex to the end of the destination array.public final int size()
Returns or sets the count of chart data points.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
public final boolean isReadOnly()
Gets a value indicating whether the IGenericCollection
is read-only.
Read-only boolean
.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
IGenericCollection
is read-only; otherwise, false.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataPoint>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataPoint>
iterator
in interface java.lang.Iterable<IChartDataPoint>
IGenericEnumerator
that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iteratorJava()
Returns a java iterator for the entire collection.
Iterator
for the entire collection.Copyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.