setMinValue:
プログレスインジケータの最小値をセットします
-(void)setMinValue:(double)newMinimum:
解説
プログレスインジケータの最小値をセットします。
処理時間などが確定できないとき(床屋のポール状態)などは使いません。
返り値
( void )
なし
引数
( double )newMinimum
最小限の値
フレームワーク
ApplicationKit
クラス
NSProgressIndicator
Instance Methods
使用可能
10.0
参照
- minValue
例文
#import "MyObject.h" @implementation MyObject - (IBAction)button:(id)sender { [myOutlet setIndeterminate:NO]; [myOutlet setMinValue:10.0]; [myOutlet setDoubleValue:10.0]; } - (IBAction)button2:(id)sender; { [myOutlet incrementBy:10.0]; NSLog([NSString stringWithFormat:@"%.1f",[myOutlet doubleValue]]); } - (IBAction)slider:(id)sender { } @end