@Environment(value=CLIENT) public static enum TooltipContext.Default extends Enum<TooltipContext.Default> implements TooltipContext
TooltipContext.Default
Modifier and Type | Field and Description |
---|---|
private boolean |
advanced |
Modifier and Type | Method and Description |
---|---|
boolean |
isAdvanced() |
static TooltipContext.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TooltipContext.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TooltipContext.Default NORMAL
public static final TooltipContext.Default ADVANCED
public static TooltipContext.Default[] values()
for (TooltipContext.Default c : TooltipContext.Default.values()) System.out.println(c);
public static TooltipContext.Default 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 boolean isAdvanced()
isAdvanced
in interface TooltipContext