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.
|
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 |
worked(double work)
Moves the progress indicator by the given amount of work units
|
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
public ProgressIndicator(Composite parent)
parent
- The widgets parentpublic 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.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.