public class ProgressIndicator extends Composite
worked method needs to be called.| Constructor and Description |
|---|
ProgressIndicator(Composite parent)
Create a ProgressIndicator as a child under the given parent.
|
ProgressIndicator(Composite parent,
int style)
Create a ProgressIndicator as a child under the given parent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginAnimatedTask()
Initialize the progress bar to be animated.
|
void |
beginTask(int max)
Initialize the progress bar.
|
void |
done()
Progress is done.
|
void |
sendRemainingWork()
Moves the progress indicator to the end.
|
void |
showError()
Show the receiver as showing an error.
|
void |
showNormal()
Reset the progress bar to it's normal style.
|
void |
showPaused()
Show the receiver as being paused.
|
void |
worked(double work)
Moves the progress indicator by the given amount of work units
|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic ProgressIndicator(Composite parent)
parent - The widgets parentpublic ProgressIndicator(Composite parent, int style)
parent - The widgets parentstyle - the SWT style constants for progress monitors created
by the receiver.public void beginAnimatedTask()
public void beginTask(int max)
max - The maximum value.public void done()
public void sendRemainingWork()
public void worked(double work)
work - the amount of work to increment by.public void showError()
public void showPaused()
public void showNormal()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.