public static enum Text.Size extends Enum<Text.Size>
Enum Constant and Description |
---|
Default
The standard text size, used for most things in the game such as chat messages.
|
Huge
The largest text size in the game.
|
Large
A larger text size.
|
Small
The smallest text size in the game.
|
Modifier and Type | Method and Description |
---|---|
static Text.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Text.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Text.Size Small
public static final Text.Size Default
public static final Text.Size Large
public static final Text.Size Huge
public static Text.Size[] values()
for (Text.Size c : Text.Size.values()) System.out.println(c);
public static Text.Size 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 nullCopyright © 2022. All rights reserved.