Up
Authors
- Gerrit van Dyk (
gerritvd@decimax.com)
-
- Fred Kiefer (
fredkiefer@gmx.de)
-
Date: Generated at 2025-12-03
Copyright: (C) 1999 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSProgressIndicator.h
Availability: OpenStep
NSProgressIndicator displays task
progress either as a bar or a spinner. Supports
determinate (min/max/value) and indeterminate
(animated) modes, with optional threaded animation
and standard control sizing/tinting.
NSProgressIndicator declares 11 Instance Variables
- (void)
animate: (id)sender;
Availability: MacOS-X 99.99.99
Advances the indeterminate animation by one frame.
- (
NSTimeInterval)
animationDelay;
Availability: MacOS-X 99.99.99
Time interval between animation frames in seconds.
- (
NSControlSize)
controlSize;
Availability: OpenStep
Standard control layout.
Returns the
control size used by the indicator.
- (
NSControlTint)
controlTint;
Availability: OpenStep
Returns the control tint used by the indicator.
- (double)
doubleValue;
Availability: OpenStep
Current progress value.
- (void)
incrementBy: (double)delta;
Availability: OpenStep
Advancing the progress bar in determinate mode.
Increments the current value by the specified
delta.
- (BOOL)
isBezeled;
Availability: OpenStep
Setting the appearance.
Indicates whether a
bezel is drawn.
- (BOOL)
isDisplayedWhenStopped;
Availability: MacOS-X 10.2.0
Indicates whether the indicator remains visible
when stopped.
- (BOOL)
isIndeterminate;
Availability: OpenStep
Indicates whether the indicator is indeterminate.
- (double)
maxValue;
Availability: OpenStep
Maximum progress value.
- (double)
minValue;
Availability: OpenStep
Minimum progress value.
- (void)
setAnimationDelay: (
NSTimeInterval)delay;
Availability: MacOS-X 99.99.99
Sets the time interval between animation frames in
seconds.
- (void)
setBezeled: (BOOL)flag;
Availability: OpenStep
Enables or disables the bezel.
- (void)
setControlSize: (
NSControlSize)size;
Availability: OpenStep
Sets the control size used by the
indicator.
- (void)
setControlTint: (
NSControlTint)tint;
Availability: OpenStep
Sets the control tint used by the
indicator.
- (void)
setDisplayedWhenStopped: (BOOL)flag;
Availability: MacOS-X 10.2.0
Shows or hides the indicator when it is stopped.
- (void)
setDoubleValue: (double)aValue;
Availability: OpenStep
Sets the current progress value.
- (void)
setIndeterminate: (BOOL)flag;
Availability: OpenStep
Sets whether the indicator is indeterminate.
- (void)
setMaxValue: (double)newMaximum;
Availability: OpenStep
Sets the maximum progress value.
- (void)
setMinValue: (double)newMinimum;
Availability: OpenStep
Sets the minimum progress value.
- (void)
setStyle: (
NSProgressIndicatorStyle)style;
Availability: MacOS-X 10.2.0
Sets the visual style (bar or spinning).
- (void)
setUsesThreadedAnimation: (BOOL)flag;
Availability: OpenStep
Enables or disables background-thread animation.
- (void)
sizeToFit;
Availability: MacOS-X 10.2.0
Adjusts the receiver’s size to fit the current
style and control size.
Not implemented (as of 2025-12-03).
Please help us by producing an implementation of
this and donating it to the GNUstep project.
- (void)
startAnimation: (id)sender;
Availability: OpenStep
Starts indeterminate animation.
- (void)
stopAnimation: (id)sender;
Availability: OpenStep
Stops indeterminate animation.
- (BOOL)
usesThreadedAnimation;
Availability: OpenStep
Indicates whether animation runs on a background
thread.
Instance Variables for NSProgressIndicator Class
@protected NSTimeInterval
_animationDelay;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSControlSize
_controlSize;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSControlTint
_controlTint;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected double
_doubleValue;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_isBezeled;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_isDisplayedWhenStopped;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_isIndeterminate;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected double
_maxValue;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected double
_minValue;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSProgressIndicatorStyle
_style;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_usesThreadedAnimation;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSProgressIndicator.h
Availability: Not in OpenStep/MacOS-X
GNUstep extensions.
- (BOOL)
isVertical;
Availability: Not in OpenStep/MacOS-X
Enables vertical progress bar orientation. If
vertical is true, progress grows from bottom to
top; otherwise left to right.
- (void)
setVertical: (BOOL)flag;
Availability: Not in OpenStep/MacOS-X
Sets vertical orientation.
Up