#import <CPProgressIndicator.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(CPDictionary) | + themeAttributes |
![]() | |
(CPMenu) | + defaultMenu |
(void) | + initialize |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
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.
Reimplemented from CPView.
Definition at line 368 of file CPProgressIndicator.j.
|
implementation |
Reimplemented from CPView.
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 |
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 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 |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPView.
Provided by category CPProgressIndicator(CPCoding).
Definition at line 441 of file CPProgressIndicator.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
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 |
Reimplemented from CPView.
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 |
Reimplemented from CPView.
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 |
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 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 |
Reimplemented from CPView.
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.