Instance Method

drawSelectionInRect:

Draws the selected row.

Declaration

- (void)drawSelectionInRect:(NSRect)dirtyRect;

Parameters

dirtyRect

The rectangle that requires drawing.

Discussion

This method is only called if the selection should be drawn.

The selection will automatically be alpha-blended if the selection is animating in or out.

The default selection drawn is dependent on the selectionHighlightStyle.

See Also

Overriding Row View Display Characteristics

backgroundColor

The background color of the row.

- drawBackgroundInRect:

Draws the background of the row in the rectangle.

- drawDraggingDestinationFeedbackInRect:

Draws the row’s dragging destination feedback when the entire row is a drop target.

- drawSeparatorInRect:

Draws the horizontal separator between table rows.