public static enum Task.BlockingScope extends Enum<Task.BlockingScope>
inputBlocker
.Task.InputBlocker
,
Action.block()
Enum Constant and Description |
---|
ACTION
Block an
Action while the
task is executing, typically by temporarily disabling it. |
APPLICATION
Block all of the application's top level windows,
typically by showing a application-modal dialog.
|
COMPONENT
Block a component while the
task is executing, typically by temporarily disabling it.
|
NONE
Don't block the GUI while this Task is executing.
|
WINDOW
Block a top level window while the task is executing,
typically by showing a window-modal dialog.
|
Modifier and Type | Method and Description |
---|---|
static Task.BlockingScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.BlockingScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.BlockingScope NONE
public static final Task.BlockingScope ACTION
Action
while the
task is executing, typically by temporarily disabling it.public static final Task.BlockingScope COMPONENT
public static final Task.BlockingScope WINDOW
public static final Task.BlockingScope APPLICATION
public static Task.BlockingScope[] values()
for (Task.BlockingScope c : Task.BlockingScope.values()) System.out.println(c);
public static Task.BlockingScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2014. All rights reserved.