com.aspose.slides
Class ChartCellCollection

java.lang.Object
  extended by com.aspose.slides.ChartCellCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public class ChartCellCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable

Represents collection of a cells with data.


Method Summary
 int add(ChartDataCell chartDataCell)
           Add new cell to the collection.
 int add(java.lang.Object value)
           Creates ChartDataCell from specified value and adds it to the collection.
 ChartDataCell get_Item(int index)
           Returns a cell (Aspose.Cells.Cell) by index.
 int getCount()
           Gets the count of cells in collection.
 java.lang.String getGetConcateNameFromCells()
           Concatenation names from all cells names values.
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an enumerator for the entire collection.
 void removeAt(int index)
           Removes a cell from the collection by index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGetConcateNameFromCells

public java.lang.String getGetConcateNameFromCells()

Concatenation names from all cells names values.


get_Item

public ChartDataCell get_Item(int index)

Returns a cell (Aspose.Cells.Cell) by index.

Parameters:
index - Index of a cell.
Returns:
Cell with data.

add

public int add(ChartDataCell chartDataCell)

Add new cell to the collection.

Parameters:
chartDataCell - New cell to add.
Returns:
Index of a new added ChartDataCell.

add

public int add(java.lang.Object value)

Creates ChartDataCell from specified value and adds it to the collection.

Parameters:
value - The value.


This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataCellFactory to add or edit Cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680

Returns:
Index of a new added ChartDataCell.
Throws:
InvalidOperationException - if limit exceeded

removeAt

public void removeAt(int index)

Removes a cell from the collection by index.

Parameters:
index - Index of a cell to remove.

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable

getCount

public int getCount()

Gets the count of cells in collection.