Search
Cell Class
Remarks See Also
 






Identifies a single cell in a Worksheet.

Namespace: com.mindfusion.spreadsheet
Package: com.mindfusion.spreadsheet

 Syntax

Java  Copy Code

public class Cell implements IInplaceEditable

 Remarks

Instances of this class can be accessed through the Cells collection of the Worksheet class. The Cell object can be used to get or set the data contained in the cell, to customize the appearance of the cell through its Style and to associate an annotation or a hyperlink with the cell.

 Example

The following example demonstrates how to set the data of a cell in an existing worksheet:

Java  Copy Code

Cell cell = worksheet.getCells().get("B5");
cell.setData(20);
cell.getStyle().setTextColor(Color.green);

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.spreadsheet.Cell

 See Also