setType:
セルのタイプをセットします
-(void)setType:(NSCellType)aType:
解説
セルのタイプをセットします。
【NSCellType】
● NSTextCellType テキストセル
● NSImageTypeCell 画像セル
● NSNullCellType 内容の無いセル
返り値
( void )
なし
引数
( NSCellType )aType
セルタイプ
フレームワーク
ApplicationKit
クラス
NSCell
Instance Methods
使用可能
10.0
参照
- type
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //bCell1はテキストフィールドセル [bCell1 setType:NSNullCellType]; //windowはこのウインドウへ接続しているアウトレット [window display]; } @end