public enum TextFieldSize extends Enum<TextFieldSize>
| Enum Constant and Description |
|---|
LARGE
A large text field with multiple lines
|
SMALL
A small text field with a single line
|
| Modifier and Type | Method and Description |
|---|---|
static TextFieldSize |
getByName(String value) |
String |
toString() |
static TextFieldSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextFieldSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFieldSize SMALL
public static final TextFieldSize LARGE
public static TextFieldSize[] values()
for (TextFieldSize c : TextFieldSize.values()) System.out.println(c);
public static TextFieldSize 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 nullpublic String toString()
toString in class Enum<TextFieldSize>public static TextFieldSize getByName(String value)
Copyright © 2014. All Rights Reserved.