public static final class Invoker.EDT extends Invoker
Invoker
in the Event Dispatch Thread,
which is the only one valid thread for this invoker.Invoker.Background, Invoker.BackgroundThread, Invoker.EDT
Disposable.Parent
Constructor and Description |
---|
EDT(Disposable parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValidThread()
Returns
true if the current thread allows to process a task. |
compute, computeLater, computeLater, dispose, forBackgroundPoolWithReadAction, forBackgroundThreadWithoutReadAction, forBackgroundThreadWithReadAction, forEventDispatchThread, getTaskCount, invoke, invokeLater, invokeLater, runOrInvokeLater, toString
@Deprecated public EDT(Disposable parent)
Invoker.forEventDispatchThread(com.intellij.openapi.Disposable)
insteadparent
- a disposable parent objectpublic boolean isValidThread()
Invoker
true
if the current thread allows to process a task.isValidThread
in class Invoker
true
if the current thread is valid, or false
otherwise