|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcometa.gui.ExecutionProgress
public class ExecutionProgress
This class shows a small dialog (without decoration) in the middle of the screen, with a progess bar.
Constructor Summary | |
---|---|
ExecutionProgress(java.lang.String text)
It creates a new progress bar with a given text. |
Method Summary | |
---|---|
void |
run()
It shows the progress bar dialog. |
void |
setText(java.lang.String newText)
It sets the text on the progress bar dialog. |
void |
setVisible(boolean value)
This method shows or hides the progress bar dialog. |
void |
stop()
It hides the progress bar dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionProgress(java.lang.String text)
text
- The text to be shown in the progress bar dialog.Method Detail |
---|
public void setVisible(boolean value)
value
- If true, the dialog is shown, otherwise it is hidden.public void setText(java.lang.String newText)
newText
- The text to be set.public void run()
run
in interface java.lang.Runnable
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |