|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.gui.custom.InfoGroupContainer.ProgBarUpdater
A Runnable implementation used for Thread-safe updating of ProgressBars
| Field Summary | |
|---|---|
private int |
max
The new maximum value or -1 if the maximum value should not be updated |
private int |
min
The new minimum value or -1 if the minimum value should not be updated |
private org.eclipse.swt.widgets.ProgressBar |
p
The ProgressBar to update |
private int |
selection
The new selection or -1 if the selection should not be updated |
| Constructor Summary | |
|---|---|
private |
InfoGroupContainer.ProgBarUpdater()
|
| Method Summary | |
|---|---|
void |
run()
Update the ProgressBar |
(package private) void |
setAll(int min,
int max,
int selection)
Set new values for minimum, maximum and the new selection |
(package private) void |
setProgBar(org.eclipse.swt.widgets.ProgressBar p)
Set the ProgressBar to update |
(package private) void |
setSelection(int sel)
Set the new selection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int max
private int min
private org.eclipse.swt.widgets.ProgressBar p
private int selection
| Constructor Detail |
|---|
private InfoGroupContainer.ProgBarUpdater()
| Method Detail |
|---|
public void run()
run in interface java.lang.RunnableRunnable.run()
void setAll(int min,
int max,
int selection)
min - The new minimum valuemax - The new maximum valueselection - The new selectionvoid setProgBar(org.eclipse.swt.widgets.ProgressBar p)
p - The ProgressBar to updatevoid setSelection(int sel)
sel - The new selection value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||