|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.jface.dialogs.ProgressIndicator
A control for showing progress feedback for a long running operation. This
control supports both determinate and indeterminate SWT progress bars. For
indeterminate progress, we don't have to know the total amount of work in
advance and no worked
method needs to be called.
Field Summary |
Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
Constructor Summary | |
ProgressIndicator(Composite parent)
Create a ProgressIndicator as a child under the given parent. |
Method Summary | |
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 |
Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProgressIndicator(Composite parent)
parent
- The widgets parentMethod Detail |
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.
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.