selectedRow
選択されている、または最後に選択された行の番号を返します
解説
選択されている、または最後に選択された行の番号を返します。
なければ-1を返します。
返り値
( int )
整数値
引数
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- selectedRowEnumerator
- numberOfSelectedRows
- selectRow:byExtendingSelection:
- deselectRow:
例文
- (IBAction)myAction:(id)sender;// { NSLog([NSString stringWithFormat:@"%d",[table selectedRow]]); }