selectAll:
テーブルビューの全てのセルを選択します
-(void)selectAll:(id)sender:
解説
テーブルビューの全てのセルを選択します。
テーブルビューが複数選択を許可していない場合は、なにもしません。
選択が変わったときにデフォルトの通知センターにNSTableViewSelectionDidChangeNotificationをポストします。
返り値
( void )
なし
引数
( id )sender
オブジェクト
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- allowsMultipleSelection
- deselectAll:
- selectColumn:byExtendingSelection:
例文
- (IBAction)myAction:(id)sender;// { [table setAllowsMultipleSelection:YES]; [table selectAll:nil]; }