levelIndicatorStyle
レシーバーのレベルインジケータースタイルを返します
解説
レシーバーのレベルインジケータースタイルを返します。
【NSLevelIndicatorStyle】
●NSRelevancyLevelIndicatorStyle
縦縞
●NSContinuousCapacityLevelIndicatorStyle
連続した横長の棒スタイル
●NSDiscreteCapacityLevelIndicatorStyle
区切りのある横長の棒スタイル
●NSRatingLevelIndicatorStyle
iTunesのレートのような★5つスタイル
返り値
( NSLevelIndicatorStyle )
なし
引数
フレームワーク
ApplicationKit
クラス
NSLevelIndicatorCell
Instance Methods
使用可能
10.4
参照
-setLevelIndicatorStyle:
例文
switch ([iCell levelIndicatorStyle]){ case NSRelevancyLevelIndicatorStyle: NSLog(@"NSRelevancyLevelIndicatorStyle");break; case NSContinuousCapacityLevelIndicatorStyle: NSLog(@"NSContinuousCapacityLevelIndicatorStyle");break; case NSDiscreteCapacityLevelIndicatorStyle: NSLog(@"NSDiscreteCapacityLevelIndicatorStyle");break; case NSRatingLevelIndicatorStyle: NSLog(@"NSRatingLevelIndicatorStyle");break; }