Package com.restfb.types.send
Enum WebviewHeightEnum
- java.lang.Object
-
- java.lang.Enum<WebviewHeightEnum>
-
- com.restfb.types.send.WebviewHeightEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<WebviewHeightEnum>
public enum WebviewHeightEnum extends Enum<WebviewHeightEnum>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebviewHeightEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static WebviewHeightEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
compact
public static final WebviewHeightEnum compact
-
tall
public static final WebviewHeightEnum tall
-
full
public static final WebviewHeightEnum full
-
-
Method Detail
-
values
public static WebviewHeightEnum[] 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 (WebviewHeightEnum c : WebviewHeightEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebviewHeightEnum 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
-
-