setFocusRingType:
フォーカスリングタイプをセットします
-(void)setFocusRingType:(NSFocusRingType )focusRingType :
解説
フォーカスリングタイプをセットします。
返り値
( void )
なし
引数
( NSFocusRingType )focusRingType
フォーカスリングタイプ
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.3
参照
-focusRingType
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [scrollview setHidden:YES]; [scrollview setFocusRingType : NSFocusRingTypeDefault ]; switch([scrollview focusRingType]){ case NSFocusRingTypeDefault: NSLog(@"NSFocusRingTypeDefault"); break; case NSFocusRingTypeNone: NSLog(@"NSFocusRingTypeNone"); break; case NSFocusRingTypeExterior: NSLog(@"NSFocusRingTypeExterior"); break; } } @end