Note
Only one of the styles HORIZONTAL and VERTICAL may be specified.
Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | ProgressBar(Composite
a composite control which will be the parent of the new instance (cannot be null) parent, int the style of control to construct style)Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv void | |
| pack-priv long | |
| public int | |
| public int | |
| public int | |
| public int | |
| pack-priv long | |
| pack-priv void | |
| pack-priv Point | resizeCalculationsGTK3(long widget, int width, int height)
Overrides org. |
| public void | setMaximum(int
the new maximum, which must be greater than the current minimum value)Sets the maximum value that the receiver will allow. |
| public void | setMinimum(int
the new minimum, which must be nonnegative and less than the current maximum value)Sets the minimum value that the receiver will allow. |
| pack-priv void | |
| public void | setSelection(int
the new selection (must be zero or greater) value)Sets the single 'selection' that is the receiver's position to the argument which must be greater than or equal to zero. |
| public void | |
| pack-priv long | |
| pack-priv void |
| DELAY | back to summary |
|---|---|
| pack-priv static final int DELAY | |
| maximum | back to summary |
|---|---|
| pack-priv int maximum | |
| minimum | back to summary |
|---|---|
| pack-priv int minimum | |
| selection | back to summary |
|---|---|
| pack-priv int selection | |
| timerId | back to summary |
|---|---|
| pack-priv int timerId | |
| ProgressBar | back to summary |
|---|---|
| public ProgressBar(Composite parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
The style value is either one of the style constants defined in
class
| |
| checkStyle | back to summary |
|---|---|
| pack-priv static int checkStyle(int style) | |
| createHandle | back to summary |
|---|---|
| pack-priv void createHandle(int index) Overrides org.
| |
| eventHandle | back to summary |
|---|---|
| pack-priv long eventHandle() Overrides org.
| |
| getMaximum | back to summary |
|---|---|
| public int getMaximum() Returns the maximum value which the receiver will allow.
| |
| getMinimum | back to summary |
|---|---|
| public int getMinimum() Returns the minimum value which the receiver will allow.
| |
| getSelection | back to summary |
|---|---|
| public int getSelection() Returns the single 'selection' that is the receiver's position.
| |
| getState | back to summary |
|---|---|
| public int getState() Returns the state of the receiver. The value will be one of:
| |
| gtk_realize | back to summary |
|---|---|
| pack-priv long gtk_realize(long widget) Overrides org.
| |
| releaseWidget | back to summary |
|---|---|
| pack-priv void releaseWidget() Overrides org.
| |
| resizeCalculationsGTK3 | back to summary |
|---|---|
| pack-priv Point resizeCalculationsGTK3(long widget, int width, int height) Overrides org.
| |
| setMaximum | back to summary |
|---|---|
| public void setMaximum(int value) Sets the maximum value that the receiver will allow. This new value will be ignored if it is not greater than the receiver's current minimum value. If the new maximum is applied then the receiver's selection value will be adjusted if necessary to fall within its new range.
| |
| setMinimum | back to summary |
|---|---|
| public void setMinimum(int value) Sets the minimum value that the receiver will allow. This new value will be ignored if it is negative or is not less than the receiver's current maximum value. If the new minimum is applied then the receiver's selection value will be adjusted if necessary to fall within its new range.
| |
| setParentBackground | back to summary |
|---|---|
| pack-priv void setParentBackground() Overrides org.
| |
| setSelection | back to summary |
|---|---|
| public void setSelection(int value) Sets the single 'selection' that is the receiver's position to the argument which must be greater than or equal to zero.
| |
| setState | back to summary |
|---|---|
| public void setState(int state) Sets the state of the receiver. The state must be one of these values: Note This operation is a hint and is not supported on platforms that do not have this concept.
| |
| timerProc | back to summary |
|---|---|
| pack-priv long timerProc(long widget) Overrides org.
| |
| updateBar | back to summary |
|---|---|
| pack-priv void updateBar() | |