DroidDiagram Programmer's Guide
Cell Members
Constructors Methods
 


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.

The following tables list the members exposed by the Cell type.

 Public Constructors

  Name Description

Cell

Overloaded. Initializes a new instance of the Cell class.

 Public Methods

  Name Description

clone

Creates a copy of the cell.

getBrush

Gets the Brush used to fill the cell's interior.

getColumnSpan

Gets the number of columns spanned by this cell.

getEditRect

Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates).

getFont

Gets the font used to draw the text of this cell.

getHyperLink

Gets the hyperlink associated with the cell.

getImage

Gets the image that is displayed inside the cell.

getImageAlign

Gets a value indicating how the image displayed inside the cell is aligned relatively to the cell bounds.

getPlainText

Gets the plain text extracted from the formatted text by removing the formatting tags.

getRowSpan

Gets the number of rows spanned by this cell.

getTable

Gets the TableNode containing the cell.

getText

Gets the text that is displayed inside the cell.

getTextColor

Gets the color used to draw the text of this cell.

getTextFormat

Gets a TextFormat object specifying how to format and align the text of this cell.

getTextPadding

Gets the spacing between the cell's boundaries and its text.

getTextSize

Gets the size of the text displayed in this cell.

getTextToEdit

Implements InplaceEditable.getTextToEdit. Returns the text that should be displayed initially when this cell is edited in-place.

getToolTip

Gets the tooltip text that is displayed when the pointer rests for a while over this cell.

readExternal

Implements Externalizable.

renderText

Styled text rendering callback.

setBrush

Sets the Brush used to fill the cell's interior.

setColumnSpan

Sets the number of columns spanned by this cell.

setEditedText

Implements InplaceEditable.setEditedText. Assigns the edited text to the cell after in-place edit operation completes successfully

setFont

Sets the font used to draw the text of this cell.

setHyperLink

Sets the hyperlink associated with the cell.

setImage

Sets the image that should be displayed inside the cell.

setImageAlign

Sets a value indicating how the image displayed inside the cell should be aligned relatively to the cell bounds.

setRowSpan

Sets the number of rows spanned by this cell.

setText

Sets the text that should be displayed inside the cell.

setTextColor

Sets the color used to draw the text of this cell.

setTextFormat

Sets a TextFormat object specifying how to format and align the text of this cell.

setTextPadding

Sets the spacing between the cell's boundaries and its text.

setToolTip

Sets the tooltip text that should be displayed when the pointer rests for a while over this cell.

writeExternal

Implements Externalizable.

 Protected Methods

  Name Description

loadFromXml

 

saveToXml

 

 See Also

Cell Class
com.mindfusion.diagramming Namespace