public class ChartSeriesCollection extends java.lang.Object implements IChartSeriesCollection
Represents collection of ChartSeries
Modifier and Type | Method and Description |
---|---|
IChartSeries |
add(IChartCellCollection cellsWithSeriesName,
int type)
Creates new chart series from
ChartCellCollection and adds it to the collection. |
IChartSeries |
add(IChartDataCell cellWithSeriesName,
int type)
Creates new chart series from
ChartDataCell and adds it to the collection. |
IChartSeries |
add(int type)
Creates new chart series and adds it to the collection.
|
IChartSeries |
add(java.lang.String name,
int type)
Creates new chart series from value and adds it to the collection.
|
void |
clear()
Removes all controls from the collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies the entire collection to the specified array.
|
IChartSeries |
get_Item(int index)
Gets the element at the specified index.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
int |
indexOf(IChartSeries value)
Searches for the specified
ChartSeries and returns the zero-based index of the first occurrence within the entire Collection |
IChartSeries |
insert(int index,
int type)
Creates new chart series and inserts it into the collection.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
remove(IChartSeries value)
Removes the specified value.
|
void |
removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
|
int |
size()
Returns a number of objects in the collection.
|
public final IChartSeries get_Item(int index)
Gets the element at the specified index.
get_Item
in interface IChartSeriesCollection
com.aspose.ms.System.ArgumentOutOfRangeException
- index
is not a valid index in the IList
.public final int size()
Returns a number of objects in the collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>
public final IChartSeries add(int type)
Creates new chart series and adds it to the collection.
add
in interface IChartSeriesCollection
type
- Type of seriespublic final IChartSeries insert(int index, int type)
Creates new chart series and inserts it into the collection.
insert
in interface IChartSeriesCollection
public final IChartSeries add(IChartDataCell cellWithSeriesName, int type)
Creates new chart series from ChartDataCell
and adds it to the collection.
add
in interface IChartSeriesCollection
cellWithSeriesName
- Cell which contain series name.type
- Type set type of series
public final IChartSeries add(IChartCellCollection cellsWithSeriesName, int type)
Creates new chart series from ChartCellCollection
and adds it to the collection.
add
in interface IChartSeriesCollection
cellsWithSeriesName
- Cells which contain series name.type
- Type set type of series
public final IChartSeries add(java.lang.String name, int type)
Creates new chart series from value and adds it to the collection.
add
in interface IChartSeriesCollection
name
- Series name.type
- Type set type of seriespublic final int indexOf(IChartSeries value)
Searches for the specified ChartSeries
and returns the zero-based index of the first occurrence within the entire Collection
indexOf
in interface IChartSeriesCollection
value
- Chart series value.public final void remove(IChartSeries value)
Removes the specified value.
remove
in interface IChartSeriesCollection
value
- The value.com.aspose.ms.System.ArgumentException
- The value parameter was not found in the collection.public final void removeAt(int index)
Removes an ActiveX control stored at specified position from the collection.
removeAt
in interface IChartSeriesCollection
index
- Index of a control to remove.public final void clear()
Removes all controls from the collection.
clear
in interface IChartSeriesCollection
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartSeries> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartSeries>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IChartSeries>
iterator
in interface java.lang.Iterable<IChartSeries>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final void copyTo(com.aspose.ms.System.Array array, int index)
Copies the entire collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>
array
- Target arrayindex
- Index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>
public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IChartSeries>