public static enum FlexMessageComponent.Type extends java.lang.Enum<FlexMessageComponent.Type> implements Stringable
| Enum Constant and Description |
|---|
BOX |
BUTTON |
FILLER |
ICON |
IMAGE |
SEPARATOR |
SPACER |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static FlexMessageComponent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlexMessageComponent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final FlexMessageComponent.Type BOX
public static final FlexMessageComponent.Type BUTTON
public static final FlexMessageComponent.Type FILLER
public static final FlexMessageComponent.Type ICON
public static final FlexMessageComponent.Type IMAGE
public static final FlexMessageComponent.Type SEPARATOR
public static final FlexMessageComponent.Type SPACER
public static final FlexMessageComponent.Type TEXT
public static FlexMessageComponent.Type[] values()
for (FlexMessageComponent.Type c : FlexMessageComponent.Type.values()) System.out.println(c);
public static FlexMessageComponent.Type 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 namejava.lang.NullPointerException - if the argument is null