setUpFieldEditorAttributes:
テキストオブジェクトの背景属性をレシーバセルの背景属性にします
-(NSText *)setUpFieldEditorAttributes:(NSText *)textObj:
解説
テキストオブジェクトの背景属性をレシーバセルの背景属性にします。
変更後のテキストオブジェクトを返します。
返り値
( NSText * )
文字列
引数
( NSText * )textObj
テキスト
フレームワーク
ApplicationKit
クラス
NSCell
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSText *text = [[[NSText alloc] init] autorelease]; NSLog([[text backgroundColor] description]); text = [bCell1 setUpFieldEditorAttributes:tv]; NSLog([[text backgroundColor] description]); } @end