Instance Method

calcSize()

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

Declaration

func calcSize()

Discussion

This method uses the calcDrawInfo(_:) method of its cell to perform the calculations. Most controls maintain a flag that informs them if any of their cells have been modified in such a way that the location or size of the cell should be recomputed. If such a modification happens, this method is automatically invoked before the control is displayed. You should never need to invoke it yourself.

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 selectCell(NSCell)

Selects the specified cell and redraws the control as needed.

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