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