public static enum HamletSpec.InputType extends Enum<HamletSpec.InputType>
Enum Constant and Description |
---|
button |
checkbox |
file |
hidden |
image |
password |
radio |
reset |
submit |
text |
Modifier and Type | Method and Description |
---|---|
static HamletSpec.InputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HamletSpec.InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HamletSpec.InputType text
public static final HamletSpec.InputType password
public static final HamletSpec.InputType checkbox
public static final HamletSpec.InputType radio
public static final HamletSpec.InputType submit
public static final HamletSpec.InputType reset
public static final HamletSpec.InputType file
public static final HamletSpec.InputType hidden
public static final HamletSpec.InputType image
public static final HamletSpec.InputType button
public static HamletSpec.InputType[] values()
for (HamletSpec.InputType c : HamletSpec.InputType.values()) System.out.println(c);
public static HamletSpec.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 © 2008–2022 Apache Software Foundation. All rights reserved.