setBordered:
カラーウエルの枠を表示するかをセットします
-(void)setBordered:(BOOL)bordered:
解説
カラーウエルの枠を表示するかをセットします。
再描画しないといけません。
返り値
( void )
なし
引数
( BOOL )bordered
YES/NO
フレームワーク
ApplicationKit
クラス
NSColorWell
Instance Methods
使用可能
10.0
参照
- isBordered
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { if ([myColorwell isBordered]){ [myColorwell setBordered:NO]; [myColorwell display]; NSLog(@"isBordered"); }else{ [myColorwell setBordered:YES]; [myColorwell display]; NSLog(@"Not Bordered"); } } @end