NuGridImageTextCell

Description

The NuGridImageTextCell class is used to work with a cell that contains text and/or image

Inheritance Hierarchy

          NSObject

          UIResponder

          UIView

          NuGridCell

          NuGridDecoratedCell

          NuTextGridCell

          NuGridImageTextCell

Comments

Use the NuTextGridCell class to configure text parameters. A text that occupies part of a cell is not regarded as an image.

The NuGridImageTextCell class is parent for the NuGridExpandableCell class.

Methods

addImage:outputSize:alignment:zPosition:border:key:. Adds an image to the cell by selected parameters.

addImage:outputSize:alignment:zPosition:leftBorder:rightBorder:topBorder:bottomBorder:key:. Adds an image to the cell by selected parameters. Advanced setting of image margins is available.

clearImages. Removes all images from the cell.

removeImage:. Removes image with the specified key.

Properties inherited from NuTextGridCell

alignment. Cell text alignment.

font. Text font.

highlightTextColor. Color of highlighted cell text.

indent. Text indent.

lineBreakMode. Text wrapping and line breaks.

text. Cell text.

textColor. Text color.

Properties inherited from NuGridDecoratedCell

borderWidth. Cell border width.

bottomBorderColor. Bottom border color.

bottomBorderWidth. Bottom cell border width.

bottomDash. Array of values that determine order of bottom border dashes.

leftBorderColor. Left border color.

leftBorderWidth. Left cell border width.

leftDash. Array of values that determine the order of dashes for the left border.

rightBorderColor. Right border color.

rightBorderWidth. Right cell border width.

rightDash. Array of values that determine order of right border dashes.

topBorderColor. Top border color.

topBorderWidth. Top cell border width.

topDash. Array of values that determine order of top border dashes.

Properties inherited from NuGridCell

columnIndex. Index of column containing the cell.

columnNumber. Number of column containing the cell.

includedColumns. Columns included into the merged cell.

includedRows. Rows included into the merged cell.

isClickable. Indicates whether cell touch event is handled.

isColumnHeader. Indicates whether the cell is positioned in the column heading.

isHighLighted. Indicates whether the cell is highlighed.

isLink. Indicates whether the cell is a part of a merged cell.

isRowHeader. Indicates whether the cell is positioned in the row heading.

linkColumn. Column containing the merged cell.

linkRow. Row containing the merged cell.

parentGrid. Parent table.

reuseIdentifier. Re-use ID.

rowIndex. Index of the row containing the cell.

rowNumber. Number of the row containing the cell.

style. Cell style options.

value. Cell value.

Methods inherited from NuGridCell

applyStyle. Applies the specified style to the cell.

bestSize. Finds the optimal cell size based on cell contents.

clearIncludes. Clears information about merged rows or columns.

column. Returns the column that contains the cell.

height. Returns cell height.

initWithReuseIdentifier. Initializes the cell with the specified reuse ID.

row. Returns the row containing the cell.

toString. Converts internal view of the cell data to a readable string.

width. Returns cell width.

See also:

Classes