public enum FormType extends Enum<FormType>
| Enum Constant and Description |
|---|
CUSTOM_FORM |
MODAL_FORM |
SIMPLE_FORM |
| Modifier and Type | Method and Description |
|---|---|
static FormType |
getByOrdinal(int ordinal) |
static FormType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="form") public static final FormType SIMPLE_FORM
@SerializedName(value="modal") public static final FormType MODAL_FORM
@SerializedName(value="custom_form") public static final FormType CUSTOM_FORM
public static FormType[] values()
for (FormType c : FormType.values()) System.out.println(c);
public static FormType 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 static FormType getByOrdinal(int ordinal)
Copyright © 2020 GeyserMC. All rights reserved.