public static enum AbstractFocus.Mode extends Enum<AbstractFocus.Mode>
Enum Constant and Description |
---|
FORM
In this mode, focus is processed every time form is submitted.
|
VIEW
This mode brings focus functionality to all forms in a view.
|
Modifier and Type | Method and Description |
---|---|
static AbstractFocus.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractFocus.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractFocus.Mode FORM
public static final AbstractFocus.Mode VIEW
FORM
mode.public static AbstractFocus.Mode[] values()
for (AbstractFocus.Mode c : AbstractFocus.Mode.values()) System.out.println(c);
public static AbstractFocus.Mode 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 © 2014 JBoss by Red Hat. All Rights Reserved.