isDisplayedWhenStopped
プログレスバーが停止している時に表示するかを返します
解説
プログレスバーが停止している時に表示するかを返します。
停止中でも表示する場合はYESを返します。
停止中に表示しない場合はNOを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSProgressIndicator
Instance Methods
使用可能
10.2
参照
- animationDelay
- setAnimationDelay:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)button:(id)sender { [myOutlet startAnimation:sender]; } - (IBAction)button2:(id)sender; { [myOutlet stopAnimation:sender]; [myOutlet setDisplayedWhenStopped:NO]; if ([myOutlet isDisplayedWhenStopped]) { NSLog(@"!!!"); } } - (IBAction)slider:(id)sender { } @end