org.gwtbootstrap3.client.ui.constants
Enum TypeAttrType
java.lang.Object
java.lang.Enum<TypeAttrType>
org.gwtbootstrap3.client.ui.constants.TypeAttrType
- All Implemented Interfaces:
- Serializable, Comparable<TypeAttrType>, Type
public enum TypeAttrType
- extends Enum<TypeAttrType>
- implements Type
Represents values for the type="" HTML attribute.
- Author:
- Sven Jacobs
BUTTON
public static final TypeAttrType BUTTON
SUBMIT
public static final TypeAttrType SUBMIT
TEXT
public static final TypeAttrType TEXT
RADIO
public static final TypeAttrType RADIO
CHECKBOX
public static final TypeAttrType CHECKBOX
values
public static TypeAttrType[] 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 (TypeAttrType c : TypeAttrType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TypeAttrType 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
getInputType
public String getInputType()
Copyright © 2015. All rights reserved.