tickMarkPosition
レシーバーのマークがどのように位置合わせされるかを返します
解説
レシーバーのマークがどのように位置合わせされるかを返します。
デフォルトの位置合わせはNSTickMarkBelow と NSTickMarkLeftです。
返り値
( NSTickMarkPosition )
なし
引数
フレームワーク
ApplicationKit
クラス
NSLevelIndicator
Instance Methods
使用可能
10.4
参照
-setTickMarkPosition:
例文
- (IBAction)myOutlet:sender { NSLevelIndicatorCell *iCell = [tColumn dataCellForRow:0]; [iCell setLevelIndicatorStyle:NSRatingLevelIndicatorStyle]; switch ([iCell tickMarkPosition]){ case NSTickMarkBelow: NSLog(@"NSTickMarkBelow");break; case NSTickMarkAbove: NSLog(@"NSTickMarkAbove");break; } //アップデート用 [tColumn setWidth:[tColumn width]+1];[tColumn setWidth:[tColumn width]-1]; NSLog(@"criticalValue - %f",[iCell criticalValue]); }