DroidDiagram Programmer's Guide
Cell Class
Remarks See Also
 






Represents a cell in a table. Cells are arranged in a grid of rows and columns, and can span more than one rows or columns if needed. Each cell can display an image and a text label.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public class Cell implements Cloneable, Externalizable, RenderTextCallback, InplaceEditable

 Remarks

Cells are the building blocks of tables. They get their height and width indirectly, from the width of table columns and the height of table rows as set through the setWidth and setHeight methods. Cells can be made to span several rows and columns by calling their setRowSpan and setColumnSpan methods.

A cell can display a text label, as set by the setText method. The text alignment is set by calling setTextFormat. Color of the text in the cells is set by the setTextColor method.

The appearance of a cell can be customized further by the setBrush, setImage and setImageAlign methods.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.Cell

 See Also

Cell Members
com.mindfusion.diagramming Namespace