macOS/iOS API解説

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

目次

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