Deprecated
As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | AnimatedProgress(Composite
a widget which will be the parent of the new instance (cannot be null) parent, int the style of widget 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 |
|---|---|
| private static int | |
| public synchronized void | clear()
Stop the animation if it is not already stopped and reset the presentation to a blank appearance. |
| public Point | computeSize(int
the width hint (can be wHint, int SWT.DEFAULT)the height hint (can be hHint, boolean SWT.DEFAULT)true if the control's contents have changed, and false otherwiseOverrides org. |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public synchronized void | |
| public synchronized void |
| active | back to summary |
|---|---|
| pack-priv boolean active | |
| DEFAULT_HEIGHT | back to summary |
|---|---|
| pack-priv static final int DEFAULT_HEIGHT | |
| DEFAULT_WIDTH | back to summary |
|---|---|
| pack-priv static final int DEFAULT_WIDTH | |
| orientation | back to summary |
|---|---|
| pack-priv int orientation | |
| showBorder | back to summary |
|---|---|
| pack-priv boolean showBorder | |
| showStripes | back to summary |
|---|---|
| pack-priv boolean showStripes | |
| SLEEP | back to summary |
|---|---|
| pack-priv static final int SLEEP | |
| value | back to summary |
|---|---|
| pack-priv int value | |
| AnimatedProgress | back to summary |
|---|---|
| public AnimatedProgress(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 |
|---|---|
| private static int checkStyle(int style) | |
| clear | back to summary |
|---|---|
| public synchronized void clear() Stop the animation if it is not already stopped and reset the presentation to a blank appearance.
| |
| computeSize | back to summary |
|---|---|
| public Point computeSize(int wHint, int hHint, boolean changed) Overrides org. Doc from org. Returns the preferred size (in points) of the receiver.
The preferred size of a control is the size that it would
best be displayed at. The width hint and height hint arguments
allow the caller to ask a control questions such as "Given a particular
width, how high does the control need to be to show all of the contents?"
To indicate that the caller does not wish to constrain a particular
dimension, the constant
If the changed flag is | |
| drawBevelRect | back to summary |
|---|---|
| private void drawBevelRect(GC gc, int x, int y, int w, int h, Color topleft, Color bottomright) | |
| paint | back to summary |
|---|---|
| pack-priv void paint(PaintEvent event) | |
| paintStripes | back to summary |
|---|---|
| pack-priv void paintStripes(GC gc) | |
| start | back to summary |
|---|---|
| public synchronized void start() Start the animation.
| |
| stop | back to summary |
|---|---|
| public synchronized void stop() Stop the animation. Freeze the presentation at its current appearance. | |