macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

indicatorImageInTableColumn:

テーブル列ヘッダの右端のインジケータ画像を返します
-(NSImage *)indicatorImageInTableColumn:(NSTableColumn *)aTableColumn:

解説

テーブル列ヘッダの右端のインジケータ画像を返します。

返り値

( NSImage * )

インジケータ画像

引数

( NSTableColumn * )aTableColumn

テーブル列

フレームワーク

ApplicationKit

クラス

NSTableView

Instance Methods

使用可能

10.0

参照

- setIndicatorImage:inTableColumn:

例文

- (IBAction)myAction:(id)sender;//
{
NSImage *img = [NSImage imageNamed:@"image"];
NSTableColumn *theColumn;
theColumn = [table tableColumnWithIdentifier:@"COL1"];
[table setIndicatorImage:img inTableColumn:theColumn];
NSLog([NSString stringWithFormat:@"%@",[[table indicatorImageInTableColumn:theColumn] name]]);
}