| Modifier and Type | Field and Description |
|---|---|
| public static final AWTEDTExecutor | singleton
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(final boolean
if true method waits until wait, final Runnable Runnable#run() is completed, otherwise don't wait.the r)Runnable to be executed.Implements com. |
| public boolean | invoke(final Object
representing the AWT-tree-lock, i.e. treeLock, final boolean java.allow execution on non AWT-EDT in case current thread is not AWT-EDT and the tree-lock is being hold allowOnNonEDT, final boolean if true method waits until wait, final Runnable Runnable#run() is completed, otherwise don't wait.the r)Runnable to be executed.Executes the given runnable on the AWT-EDT and return
|
| singleton | back to summary |
|---|---|
| public static final AWTEDTExecutor singleton
| |
| AWTEDTExecutor | back to summary |
|---|---|
| private AWTEDTExecutor() | |
| invoke | back to summary |
|---|---|
| public void invoke(final boolean wait, final Runnable r) Implements com.
| |
| invoke | back to summary |
|---|---|
| public boolean invoke(final Object treeLock, final boolean allowOnNonEDT, final boolean wait, final Runnable r) Executes the given runnable on the AWT-EDT and return
Otherwise execute the given runnable on the current-thread and return
Otherwise the runnable is not executed and
| |