java.io.Serializable, java.lang.Comparable<HamletSpec.ButtonType>public static enum HamletSpec.ButtonType extends java.lang.Enum<HamletSpec.ButtonType>
| Modifier and Type | Method | Description |
|---|---|---|
static HamletSpec.ButtonType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HamletSpec.ButtonType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HamletSpec.ButtonType button
public static final HamletSpec.ButtonType submit
public static final HamletSpec.ButtonType reset
public static HamletSpec.ButtonType[] values()
for (HamletSpec.ButtonType c : HamletSpec.ButtonType.values()) System.out.println(c);
public static HamletSpec.ButtonType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.