Instance Method

drawCell:

Draws the specified cell, as long as it belongs to the receiver.

Declaration

- (void)drawCell:(NSCell *)cell;

Parameters

aCell

The cell to draw. If the cell does not belong to the receiver, this method does nothing.

Discussion

This method is provided primarily to support a consistent set of methods between NSControl objects with single and multiple cells, because a control with multiple cells needs to be able to draw individual cells.

See Also

Deprecated

cell

The receiver’s cell object.

Deprecated
- selectedCell

Returns the receiver’s selected cell.

Deprecated
- selectedTag

Returns the tag of the receiver’s selected cell.

Deprecated
- setNeedsDisplay

Marks the receiver as needing redisplay (assuming automatic display is enabled).

Deprecated
- calcSize

Recomputes any internal sizing information for the receiver, if necessary.

Deprecated
- selectCell:

Selects the specified cell and redraws the control as needed.

Deprecated
- drawCellInside:

Draws the inside of the receiver’s cell (the area within the bezel or border)

Deprecated
- updateCell:

Marks the specified cell as in need of redrawing.

Deprecated
- updateCellInside:

Marks the inside of the specified cell as in need of redrawing.

Deprecated