![]() |
API
0.9.7
|
#import <CPProgressIndicator.h>
Instance Methods | |
(CPControlSize) | - controlSize |
(CPControlTint) | - controlTint |
(CPView) | - createEphemeralSubviewNamed: |
(double) | - doubleValue |
(void) | - drawBar |
(void) | - encodeWithCoder: |
(void) | - incrementBy: |
(id) | - initWithCoder: |
(id) | - initWithFrame: |
(BOOL) | - isBezeled |
(BOOL) | - isDisplayedWhenStopped |
(BOOL) | - isIndeterminate |
(void) | - layoutSubviews |
(double) | - maxValue |
(double) | - minValue |
(CGRect) | - rectForEphemeralSubviewNamed: |
(void) | - setBezeled: |
(void) | - setControlSize: |
(void) | - setControlTint: |
(void) | - setDisplayedWhenStopped: |
(void) | - setDoubleValue: |
(void) | - setFrameSize: |
(void) | - setIndeterminate: |
(void) | - setMaxValue: |
(void) | - setMinValue: |
(void) | - setStyle: |
(void) | - setUsesThreadedAnimation: |
(void) | - sizeToFit |
(void) | - startAnimation: |
(void) | - stopAnimation: |
(void) | - updateBackgroundColor |
(BOOL) | - usesThreadedAnimation |
Class Methods | |
(CPString) | + defaultThemeClass |
(CPDictionary) | + themeAttributes |
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 234 of file CPProgressIndicator.j.
|
implementation |
Definition at line 249 of file CPProgressIndicator.j.
Definition at line 368 of file CPProgressIndicator.j.
|
implementation |
Definition at line 69 of file CPProgressIndicator.j.
|
implementation |
Returns the value of the progress indicator.
Definition at line 177 of file CPProgressIndicator.j.
|
implementation |
Definition at line 363 of file CPProgressIndicator.j.
|
implementation |
Provided by category CPProgressIndicator(CPCoding).
Definition at line 461 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 159 of file CPProgressIndicator.j.
|
implementation |
Provided by category CPProgressIndicator(CPCoding).
Definition at line 441 of file CPProgressIndicator.j.
|
implementation |
Definition at line 95 of file CPProgressIndicator.j.
|
implementation |
Definition at line 264 of file CPProgressIndicator.j.
|
implementation |
Returns YES
if the progress bar is displayed when not animating.
Definition at line 338 of file CPProgressIndicator.j.
|
implementation |
Returns YES
if the progress bar is indeterminate.
Definition at line 286 of file CPProgressIndicator.j.
|
implementation |
Definition at line 405 of file CPProgressIndicator.j.
|
implementation |
Returns the maximum value of the progress indicator.
Definition at line 211 of file CPProgressIndicator.j.
|
implementation |
Returns the minimum value of the progress indicator.
Definition at line 194 of file CPProgressIndicator.j.
|
implementation |
Definition at line 373 of file CPProgressIndicator.j.
|
implementation |
Definition at line 257 of file CPProgressIndicator.j.
|
implementation |
Sets the progress indicator's size.
aControlSize | the new size |
Definition at line 221 of file CPProgressIndicator.j.
|
implementation |
Definition at line 242 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 323 of file CPProgressIndicator.j.
|
implementation |
Sets the progress value of the indicator.
Definition at line 167 of file CPProgressIndicator.j.
|
implementation |
Definition at line 355 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 273 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 203 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 186 of file CPProgressIndicator.j.
|
implementation |
Sets the progress indicator's style
aStyle | the style to set it to |
Definition at line 295 of file CPProgressIndicator.j.
|
implementation |
Definition at line 120 of file CPProgressIndicator.j.
|
implementation |
Resizes the indicator based on it's style.
Definition at line 310 of file CPProgressIndicator.j.
|
implementation |
Starts the animation of the progress indicator in indeterminate mode.
the | requesting object |
Definition at line 128 of file CPProgressIndicator.j.
|
implementation |
Stops the animation of the progress indicator in indeterminate mode.
the | requesting object |
Definition at line 139 of file CPProgressIndicator.j.
|
implementation |
Definition at line 74 of file CPProgressIndicator.j.
|
implementation |
Definition at line 393 of file CPProgressIndicator.j.
|
implementation |
Always returns NO
. Cappuccino does not have multiple threads.
Definition at line 149 of file CPProgressIndicator.j.