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
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.
|
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 System.Collections.Generic.ICollection`1
.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
public boolean containsItem(IChartDataPoint item)
Determines whether the System.Collections.Generic.ICollection`1
contains a specific value.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
item
- The object to locate in the System.Collections.Generic.ICollection`1
.item
is found in the System.Collections.Generic.ICollection`1
; otherwise, false.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.
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 System.Collections.Generic.ICollection`1
. 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 System.Collections.Generic.ICollection`1
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 System.Collections.Generic.ICollection`1
is read-only.
Read-only boolean
.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IChartDataPoint>
System.Collections.Generic.ICollection`1
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>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.