com.aspose.slides
Class ChartSeriesExCollection

java.lang.Object
  extended by com.aspose.ms.System.Collections.CollectionBase
      extended by com.aspose.slides.ChartSeriesExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IList, java.lang.Iterable

public class ChartSeriesExCollection
extends com.aspose.ms.System.Collections.CollectionBase

Represents collection of ChartSeriesEx


Method Summary
 int add(ChartDataCell chartDataCell, int type)
           Creates new chart series from ChartDataCell and adds it to the collection.
 int add(java.lang.Object value, int type)
           Creates new chart series from value and adds it to the collection.
 ChartSeriesEx get_Item(int index)
           Gets the element at the specified index.
 int indexOf(ChartSeriesEx value)
           Searches for the specified ChartSeriesEx and returns the zero-based index of the first occurrence within the entire Collection
 void remove(ChartSeriesEx value)
           Removes the specified value.
 
Methods inherited from class com.aspose.ms.System.Collections.CollectionBase
addItem, clear, contains, copyTo, getCapacity, getSyncRoot, indexOf, insertItem, isFixedSize, isReadOnly, isSynchronized, iterator, removeAt, removeItem, set_Item, setCapacity, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get_Item

public ChartSeriesEx get_Item(int index)

Gets the element at the specified index.

Specified by:
get_Item in interface com.aspose.ms.System.Collections.IList
Overrides:
get_Item in class com.aspose.ms.System.Collections.CollectionBase
Returns:
The element at the specified index.
Throws:
T:System.ArgumentOutOfRangeException - index is not a valid index in the T:System.Collections.IList.

add

public int add(ChartDataCell chartDataCell,
               int type)

Creates new chart series from ChartDataCell and adds it to the collection.

Parameters:
chartDataCell - Cell used to create series.
type - Type set type of series


If chart series careted from same cell already in collection then method adds nothing and returns it's index.

Returns:
Index of new chart series or index of series that already is in collection.

add

public int add(java.lang.Object value,
               int type)

Creates new chart series from value and adds it to the collection.

Parameters:
value - Value used to create series.
type - Type set type of series
Returns:
Index of new chart series.

indexOf

public int indexOf(ChartSeriesEx value)

Searches for the specified ChartSeriesEx and returns the zero-based index of the first occurrence within the entire Collection

Parameters:
value - Chart series value.
Returns:
The zero-based index of the first occurrence of value within the entire CollectionBase, if found; otherwise, -1.

remove

public void remove(ChartSeriesEx value)

Removes the specified value.

Parameters:
value - The value.
Throws:
System.ArgumentException - The value parameter was not found in the collection.