focusRingType
フォーカスリングタイプを返します
解説
フォーカスリングタイプを返します。
返り値
( NSFocusRingType )
引数
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.3
参照
-setFocusRingType:
例文
#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