public enum ComponentType extends Enum<ComponentType>
| Enum Constant and Description |
|---|
DROPDOWN |
INPUT |
LABEL |
SLIDER |
STEP_SLIDER |
TOGGLE |
| Modifier and Type | Method and Description |
|---|---|
static ComponentType |
getByName(String name) |
String |
getName() |
static ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="dropdown") public static final ComponentType DROPDOWN
@SerializedName(value="input") public static final ComponentType INPUT
@SerializedName(value="label") public static final ComponentType LABEL
@SerializedName(value="slider") public static final ComponentType SLIDER
@SerializedName(value="step_slider") public static final ComponentType STEP_SLIDER
@SerializedName(value="toggle") public static final ComponentType TOGGLE
public static ComponentType[] values()
for (ComponentType c : ComponentType.values()) System.out.println(c);
public static ComponentType 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 ComponentType getByName(String name)
public String getName()
Copyright © 2020 GeyserMC. All rights reserved.