|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AttributeType>
shared.AttributeType
public enum AttributeType
Enumerated type used to specify how HTML form elements are initialised. Radio and checkbox are initialised with Checked. Select lists are initialised with Selected.
| Enum Constant Summary | |
|---|---|
CHECKED
Indicates that the form element is initialised with the Checked attribute. |
|
SELECTED
Indicates that the form element is initialised with the Selected attribute. |
|
| Method Summary | |
|---|---|
static AttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AttributeType CHECKED
public static final AttributeType SELECTED
| Method Detail |
|---|
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||