public static enum FocusVetoListener.FocusVeto extends Enum<FocusVetoListener.FocusVeto>
| Enum Constant and Description |
|---|
NONE
No veto, allows the focus to be transferred to a new element
|
VETO
Focus transfer is canceled, and the event leading to the transfer
is consumed (meaning: the event is marked as invalid and components
will not process it).
|
VETO_NO_CONSUME
Focus transfer is canceled, but the event leading to the transfer is
allowed to be processed.
|
| Modifier and Type | Method and Description |
|---|---|
static FocusVetoListener.FocusVeto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FocusVetoListener.FocusVeto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FocusVetoListener.FocusVeto NONE
public static final FocusVetoListener.FocusVeto VETO
public static final FocusVetoListener.FocusVeto VETO_NO_CONSUME
public static FocusVetoListener.FocusVeto[] values()
for (FocusVetoListener.FocusVeto c : FocusVetoListener.FocusVeto.values()) System.out.println(c);
public static FocusVetoListener.FocusVeto 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 © 2017 Docking Frames. All rights reserved.