public enum InputType extends Enum<InputType>
| Enum Constant and Description |
|---|
DIRECTORY
Select a Directory.
|
FILE
Select a File.
|
FILE_OR_DIRECTORY
Select either a File or a Directory.
|
MANY
Select multiple values (eg, List
|
SELECT_MANY
Select many items from a List.
|
SELECT_ONE
Select one item from a List.
|
SINGLE
A single input value (eg, a String with a simple textbox).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static InputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputType SINGLE
public static final InputType MANY
public static final InputType SELECT_ONE
public static final InputType SELECT_MANY
public static final InputType FILE
public static final InputType DIRECTORY
public static final InputType FILE_OR_DIRECTORY
public static InputType[] values()
for (InputType c : InputType.values()) System.out.println(c);
public static InputType 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 © 2021 JBoss by Red Hat. All rights reserved.