drawInteriorWithFrame:inView:
セルの内側を描くときに呼ばれます
-(void)drawInteriorWithFrame:(NSRect)cellFrame: inView:(NSView *)controlView:
解説
セルの内側を描くときに呼ばれます。サブクラスでオーバーライドできます。
返り値
( void )
なし
引数
( NSRect )cellFrame
範囲
( NSView * )controlView
コントロールビュー
フレームワーク
ApplicationKit
クラス
NSCell
Instance Methods
使用可能
10.0
参照
- isHighlighted
- setShowsFirstResponder:
例文
#import "MyButtonCell.h" @implementation MyButtonCell -(void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView { NSLog(@"drawInteriorWithFrame"); [super drawInteriorWithFrame:cellFrame inView:controlView]; } @end