|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ChartSeriesCollection
public class ChartSeriesCollection
Represents collection of ChartSeries
Method Summary | |
---|---|
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(IChartSeries[] 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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public IChartSeries get_Item(int index)
Gets the element at the specified index.
get_Item
in interface IChartSeriesCollection
T:System.ArgumentOutOfRangeException
- index
is not a valid index in the T:System.Collections.IList
.public int size()
Returns a number of objects in the collection.
Read-only int
.
size
in interface IGenericCollection<IChartSeries>
public IChartSeries add(int type)
Creates new chart series and adds it to the collection.
add
in interface IChartSeriesCollection
type
- Type of series
public IChartSeries insert(int index, int type)
Creates new chart series and inserts it into the collection.
insert
in interface IChartSeriesCollection
public 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 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 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 series
public 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 void remove(IChartSeries value)
Removes the specified value.
remove
in interface IChartSeriesCollection
value
- The value.
System.ArgumentException
- The value parameter was not found in the collection.public 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 void clear()
Removes all controls from the collection.
clear
in interface IChartSeriesCollection
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public 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>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(IChartSeries[] array, int index)
Copies the entire collection to the specified array.
copyTo
in interface IGenericCollection<IChartSeries>
array
- Target arrayindex
- Index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IChartSeries>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IChartSeries>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |