org.jboss.forge.ui.hints
Enum InputTypes
java.lang.Object
java.lang.Enum<InputTypes>
org.jboss.forge.ui.hints.InputTypes
- All Implemented Interfaces:
- Serializable, Comparable<InputTypes>, InputType
public enum InputTypes
- extends Enum<InputTypes>
- implements InputType
The set of supported InputType hints that determine custom display options for various input types meriting
advanced display options or validation that would otherwise be impossible without implementation in the user
interface provider.
- Author:
- Lincoln Baxter, III
|
Method Summary |
static InputTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InputTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CHECKBOX
public static final InputTypes CHECKBOX
TEXTBOX
public static final InputTypes TEXTBOX
TEXTAREA
public static final InputTypes TEXTAREA
FILE_PICKER
public static final InputTypes FILE_PICKER
MULTI_FILE_PICKER
public static final InputTypes MULTI_FILE_PICKER
SELECT_ONE_DROPDOWN
public static final InputTypes SELECT_ONE_DROPDOWN
SELECT_ONE_RADIO
public static final InputTypes SELECT_ONE_RADIO
SELECT_MANY
public static final InputTypes SELECT_MANY
SELECT_MANY_CHECKBOX
public static final InputTypes SELECT_MANY_CHECKBOX
SECRET
public static final InputTypes SECRET
JAVA_CLASS_PICKER
public static final InputTypes JAVA_CLASS_PICKER
MULTI_JAVA_CLASS_PICKER
public static final InputTypes MULTI_JAVA_CLASS_PICKER
JAVA_PACKAGE_PICKER
public static final InputTypes JAVA_PACKAGE_PICKER
MULTI_JAVA_PACKAGE_PICKER
public static final InputTypes MULTI_JAVA_PACKAGE_PICKER
values
public static InputTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InputTypes c : InputTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InputTypes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.