highlightedTableColumn
ハイライトしているテーブルコラムを返します
解説
ハイライトしているテーブルコラムを返します。
返り値
( NSTableColumn * )
テーブル列
引数
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- setHighlightedTableColumn:
例文
- (IBAction)myAction:(id)sender;// { //NSTableColumn *theColumn = [table highlightedTableColumn]; NSTableHeaderCell *tfCell; NSTableColumn *theColumn; theColumn = [table tableColumnWithIdentifier:@"COL1"]; tfCell = [theColumn headerCell]; [table setHighlightedTableColumn:theColumn]; [tfCell setStringValue:@"NewText"]; [theColumn setWidth:[theColumn width]+1]; [theColumn setWidth:[theColumn width]-1]; }