![]() |
API
0.9.6
|
#import <CPProgressIndicator.h>
Class Methods | |
(void) | + initialize |
![]() | |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(CPDictionary) | + themeAttributes |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
This class is used in a Cappuccino GUI to display the progress of a function or task. If the duration of the task is unknown, there is also an indeterminate mode for the indicator.
Definition at line 2 of file CPProgressIndicator.h.
|
implementation |
Returns the progress indicator's size
Definition at line 275 of file CPProgressIndicator.j.
|
implementation |
Definition at line 290 of file CPProgressIndicator.j.
Reimplemented from CPView.
Definition at line 421 of file CPProgressIndicator.j.
|
implementation |
Returns the value of the progress indicator.
Definition at line 218 of file CPProgressIndicator.j.
|
implementation |
Definition at line 403 of file CPProgressIndicator.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPView.
Provided by category CPProgressIndicator(CPCoding).
Definition at line 498 of file CPProgressIndicator.j.
|
implementation |
Increases the progress of the bar by the specified value.
aValue | the amount to increase the progress value |
Definition at line 200 of file CPProgressIndicator.j.
|
implementation |
Reimplemented from CPView.
Definition at line 76 of file CPProgressIndicator.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPView.
Provided by category CPProgressIndicator(CPCoding).
Definition at line 478 of file CPProgressIndicator.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 135 of file CPProgressIndicator.j.
|
implementation |
Definition at line 305 of file CPProgressIndicator.j.
|
implementation |
Returns YES
if the progress bar is displayed when not animating.
Definition at line 378 of file CPProgressIndicator.j.
|
implementation |
Returns YES
if the progress bar is indeterminate.
Definition at line 327 of file CPProgressIndicator.j.
|
implementation |
Returns the maximum value of the progress indicator.
Definition at line 252 of file CPProgressIndicator.j.
|
implementation |
Returns the minimum value of the progress indicator.
Definition at line 235 of file CPProgressIndicator.j.
|
implementation |
Reimplemented from CPView.
Definition at line 426 of file CPProgressIndicator.j.
|
implementation |
Definition at line 298 of file CPProgressIndicator.j.
|
implementation |
Sets the progress indicator's size.
aControlSize | the new size |
Definition at line 262 of file CPProgressIndicator.j.
|
implementation |
Definition at line 283 of file CPProgressIndicator.j.
|
implementation |
Sets whether the indicator should be displayed when it isn't animating. By default this is YES
if the style is CPProgressIndicatorBarStyle, and NO
if it's CPProgressIndicatorSpinningStyle.
isDisplayedWhenStopped | YES means the indicator will be displayed when it's not animating. |
Definition at line 363 of file CPProgressIndicator.j.
|
implementation |
Sets the progress value of the indicator.
Definition at line 208 of file CPProgressIndicator.j.
|
implementation |
Sets the receiver's frame size. If aSize
is the same as the frame's current dimensions, this method simply returns. The method posts a CPViewFrameDidChangeNotification to the default notification center if the receiver is configured to do so.
aSize | the new size for the frame |
Reimplemented from CPView.
Definition at line 395 of file CPProgressIndicator.j.
|
implementation |
Specifies whether this progress indicator should be indeterminate or display progress based on it's max and min.
isDeterminate | YES makes the indicator indeterminate |
Definition at line 314 of file CPProgressIndicator.j.
|
implementation |
Sets the maximum value of the progress indicator. The default is 100.0.
aValue | the new maximum value. |
Definition at line 244 of file CPProgressIndicator.j.
|
implementation |
Sets the minimum value of the progress indicator. The default is 0.0.
aValue | the new minimum value |
Definition at line 227 of file CPProgressIndicator.j.
|
implementation |
Sets the progress indicator's style
aStyle | the style to set it to |
Definition at line 336 of file CPProgressIndicator.j.
|
implementation |
Definition at line 161 of file CPProgressIndicator.j.
|
implementation |
Resizes the indicator based on it's style.
Definition at line 349 of file CPProgressIndicator.j.
|
implementation |
Starts the animation of the progress indicator in indeterminate mode.
the | requesting object |
Definition at line 169 of file CPProgressIndicator.j.
|
implementation |
Stops the animation of the progress indicator in indeterminate mode.
the | requesting object |
Definition at line 180 of file CPProgressIndicator.j.
|
implementation |
Definition at line 443 of file CPProgressIndicator.j.
|
implementation |
Always returns NO
. Cappuccino does not have multiple threads.
Definition at line 190 of file CPProgressIndicator.j.