com.aspose.slides
Class ChartCellCollection

java.lang.Object
  extended by com.aspose.slides.ChartCellCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataCell>, com.aspose.ms.System.Collections.IEnumerable<IChartDataCell>, IChartCellCollection, java.lang.Iterable<IChartDataCell>

public class ChartCellCollection
extends java.lang.Object
implements IChartCellCollection

Represents collection of a cells with data.


Method Summary
 void add(IChartDataCell cell)
           Add new cell to the collection.
 void add(java.lang.Object value)
           Creates ChartDataCell from specified value and adds it to the collection.
 IChartDataCell get_Item(int index)
           Returns a cell (Aspose.Cells.Cell) by index.
 java.lang.String getCellsAddress()
           Returns address of the set of cells in workbook.
 java.lang.String getConcatenatedValuesFromCells()
           Concatenation string from all cells string values.
 int getCount()
           Gets the count of cells in collection.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataCell> iterator()
           Returns an enumerator that iterates through the 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

getCellsAddress

public final java.lang.String getCellsAddress()

Returns address of the set of cells in workbook.

Specified by:
getCellsAddress in interface IChartCellCollection

getConcatenatedValuesFromCells

public final java.lang.String getConcatenatedValuesFromCells()

Concatenation string from all cells string values.

Specified by:
getConcatenatedValuesFromCells in interface IChartCellCollection

get_Item

public final IChartDataCell get_Item(int index)

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

Specified by:
get_Item in interface IChartCellCollection
Parameters:
index - Index of a cell.
Returns:
Cell with data.

add

public final void add(IChartDataCell cell)

Add new cell to the collection.

Specified by:
add in interface IChartCellCollection
Parameters:
cell - New cell to add.

add

public final void add(java.lang.Object value)

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

Specified by:
add in interface IChartCellCollection
Parameters:
value - The 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

Throws:
InvalidOperationException - if limit exceeded

removeAt

public final void removeAt(int index)

Removes a cell from the collection by index.

Specified by:
removeAt in interface IChartCellCollection
Parameters:
index - Index of a cell to remove.

getCount

public final int getCount()

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

Specified by:
getCount in interface IChartCellCollection

iterator

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

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataCell>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataCell>
Specified by:
iterator in interface java.lang.Iterable<IChartDataCell>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

getParent_Immediate

public final com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.