editColumn:row:withEvent:select:
テーブルのセルを編集したときに呼び出されます
-(void)editColumn:(int)columnIndex: row:(int)rowIndex: withEvent:(NSEvent *)theEvent: select:(BOOL)flag:
解説
テーブルのセルを編集したときに呼び出されます。
サブクラスでオーバーライドします。
返り値
( void )
なし
引数
( int )columnIndex
列番号
( int )rowIndex
行番号
( NSEvent * )theEvent
イベント
( BOOL )flag
フラグ
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- editedColumn
- editedRow
例文
#import "MyTableView.h" @implementation MyTableView -(void)editColumn:(int)columnIndex row:(int)rowIndex withEvent:(NSEvent *)theEvent select:(BOOL)flag { NSLog(@"!!!"); [super editColumn:columnIndex row:rowIndex withEvent:theEvent select:flag]; } @end