public class ChartCellCollection extends java.lang.Object implements IChartCellCollection
Represents collection of a cells with data.
Modifier and Type | Method and Description |
---|---|
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.
|
public final java.lang.String getCellsAddress()
Returns address of the set of cells in workbook.
getCellsAddress
in interface IChartCellCollection
public final java.lang.String getConcatenatedValuesFromCells()
Concatenation string from all cells string values.
getConcatenatedValuesFromCells
in interface IChartCellCollection
public final IChartDataCell get_Item(int index)
Returns a cell (Aspose.Cells.Cell) by index.
get_Item
in interface IChartCellCollection
index
- Index of a cell.public final void add(IChartDataCell cell)
Add new cell to the collection.
add
in interface IChartCellCollection
cell
- New cell to add.public final void add(java.lang.Object value)
Creates ChartDataCell
from specified value and adds it to the collection.
add
in interface IChartCellCollection
value
- The value.
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 16711680com.aspose.ms.System.InvalidOperationException
- if limit exceededpublic final void removeAt(int index)
Removes a cell from the collection by index.
removeAt
in interface IChartCellCollection
index
- Index of a cell to remove.public final int getCount()
Gets the count of cells in collection.
Read-only int
.
getCount
in interface IChartCellCollection
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataCell> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataCell>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataCell>
iterator
in interface java.lang.Iterable<IChartDataCell>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.