Instance Method

highlight:withFrame:inView:

Draws the receiver’s image with optional highlighting.

Required.

Declaration

- (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView *)controlView;

Parameters

flag

A Boolean value that indicates whether to highlight the image. Add a highlight if the value is YES.

cellFrame

The frame rectangle in which to draw.

controlView

The view in which to draw.

See Also

Drawing the Cell Contents

- drawWithFrame:inView:

Draws the cell's image in the specified rectangle of the currently focused view.

Required.

- drawWithFrame:inView:characterIndex:

Draws the cell's image at the specified index point in the view.

Required.

- drawWithFrame:inView:characterIndex:layoutManager:

Draws the cell's image using the specified layout manager.

Required.