Instance Method

selectCell(_:)

Selects the specified cell and redraws the control as needed.

Declaration

func selectCell(_ cell: NSCell)

Parameters

aCell

The cell to select. The cell must belong to the receiver.

Discussion

If the cell is already selected (or does not belong to the receiver), this method does nothing. If the cell belongs to the receiver and is not selected, this method changes its state to NSOnState and redraws the cell.

See Also

Deprecated

var cell: NSCell?

The receiver’s cell object.

Deprecated
func selectedCell() -> NSCell?

Returns the receiver’s selected cell.

Deprecated
func selectedTag() -> Int

Returns the tag of the receiver’s selected cell.

Deprecated
func setNeedsDisplay()

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

Deprecated
func calcSize()

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

Deprecated
func drawCell(NSCell)

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

Deprecated
func drawCellInside(NSCell)

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

Deprecated
func updateCell(NSCell)

Marks the specified cell as in need of redrawing.

Deprecated
func updateCellInside(NSCell)

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

Deprecated