Instance Method

setIndicatorImage:inTableColumn:

Sets the indicator image of the specified column.

Declaration

- (void)setIndicatorImage:(NSImage *)image inTableColumn:(NSTableColumn *)tableColumn;

Parameters

anImage

The indicator image for the column.

aTableColumn

The table column.

Discussion

The default sorting order indicators are available as named NSImage objects. These images are accessed using [NSImage imageNamed:] passing either @"NSAscendingSortIndicator" (the "^" icon), and @"NSDescendingSortIndicator" (the "v" icon).

See Also

Setting Display Attributes

intercellSpacing

The horizontal and vertical spacing between cells.

rowHeight

The height of each row in the table.

backgroundColor

The color used to draw the background of the table.

usesAlternatingRowBackgroundColors

A Boolean value indicating whether the table view uses alternating row colors for its background.

selectionHighlightStyle

The selection highlight style used by the table view to indicate row and column selection.

gridColor

The color used to draw grid lines.

gridStyleMask

The grid lines drawn by the table view.

- indicatorImageInTableColumn:

Returns the indicator image of the specified table column.