|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.utils.ModalRunner
public class ModalRunner
Runs the given IModalRunnable in a separate thread under a protected mode: exception thrown in the runnable is passed to the runnable's exception handler. A modal dialog is shown during the running.
Constructor Summary | |
---|---|
ModalRunner(java.lang.String message)
Constructor |
Method Summary | |
---|---|
boolean |
isSuccessful()
Returns true if the runner successfully runs the IModalRunnable. |
void |
run(IModalRunnable code)
Runs the given IModalRunnable Call this method in UI thread. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModalRunner(java.lang.String message)
message
- the message to display on the modal dialogMethod Detail |
---|
public void run(IModalRunnable code)
code
- the IModalRunnable to runpublic boolean isSuccessful()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |