Package com.podio.app
Enum TextFieldSize
- java.lang.Object
-
- java.lang.Enum<TextFieldSize>
-
- com.podio.app.TextFieldSize
-
- All Implemented Interfaces:
Serializable,Comparable<TextFieldSize>
public enum TextFieldSize extends Enum<TextFieldSize>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextFieldSizegetByName(String value)StringtoString()static TextFieldSizevalueOf(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.
-
-
-
Enum Constant Detail
-
SMALL
public static final TextFieldSize SMALL
A small text field with a single line
-
LARGE
public static final TextFieldSize LARGE
A large text field with multiple lines
-
-
Method Detail
-
values
public static TextFieldSize[] 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 (TextFieldSize c : TextFieldSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextFieldSize 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<TextFieldSize>
-
getByName
public static TextFieldSize getByName(String value)
-
-