ChartCellCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IChartCellCollection, com.aspose.slides.IDOMObject

public class ChartCellCollection implements IChartCellCollection, IDOMObject

Represents collection of a cells with data.

Methods

MethodDescription
getCellsAddress()Returns address of the set of cells in workbook.
getConcatenatedValuesFromCells()Concatenation string from all cells string values.
get_Item(int index)Returns a cell (IChartDataCell) by index.
add(IChartDataCell cell)Add new cell to the collection.
add(Object value)Creates ChartDataCell from specified value and adds it to the collection.
removeAt(int index)Removes a cell from the collection by index.
getCount()Gets the count of cells in collection.
iterator()Returns an enumerator that iterates through the collection.
iteratorJava()Returns a java iterator for the entire collection.
getParent_Immediate()

getCellsAddress()

public final String getCellsAddress()

Returns address of the set of cells in workbook.

Returns: java.lang.String

getConcatenatedValuesFromCells()

public final String getConcatenatedValuesFromCells()

Concatenation string from all cells string values.

Returns: java.lang.String

get_Item(int index)

public final IChartDataCell get_Item(int index)

Returns a cell (IChartDataCell) by index.

Parameters:

ParameterTypeDescription
indexintIndex of a cell.

Returns: IChartDataCell - Cell with data.

add(IChartDataCell cell)

public final void add(IChartDataCell cell)

Add new cell to the collection.

Parameters:

ParameterTypeDescription
cellIChartDataCellNew cell to add.

add(Object value)

public final void add(Object value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataWorkbook 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 |

removeAt(int index)

public final void removeAt(int index)

Removes a cell from the collection by index.

Parameters:

ParameterTypeDescription
indexintIndex of a cell to remove.

getCount()

public final int getCount()

Gets the count of cells in collection. Read-only int.

Returns: int

iterator()

public final System.Collections.Generic.IGenericEnumerator<IChartDataCell> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataCell> - A IGenericEnumerator that can be used to iterate through the collection.

iteratorJava()

public final System.Collections.Generic.IGenericEnumerator<IChartDataCell> iteratorJava()

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataCell> - An java.util.Iterator for the entire collection.

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject