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.
 com.aspose.ms.System.Collections.IEnumerable getAsIEnumerable()
           
 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.
 java.lang.String getGetConcateNameFromCells()
          Deprecated. 
 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 java.lang.String getCellsAddress()

Returns address of the set of cells in workbook.

Specified by:
getCellsAddress in interface IChartCellCollection

getGetConcateNameFromCells

@Deprecated
public java.lang.String getGetConcateNameFromCells()
Deprecated. 

Concatenation names from all cells names values.


getConcatenatedValuesFromCells

public java.lang.String getConcatenatedValuesFromCells()

Concatenation string from all cells string values.

Specified by:
getConcatenatedValuesFromCells in interface IChartCellCollection

get_Item

public 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 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:
com.aspose.ms.System.InvalidOperationException - if limit exceeded

add

public void add(IChartDataCell cell)

Add new cell to the collection.

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

removeAt

public 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.

getAsIEnumerable

public com.aspose.ms.System.Collections.IEnumerable getAsIEnumerable()

iterator

public 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.

getCount

public int getCount()

Gets the count of cells in collection.

Specified by:
getCount in interface IChartCellCollection