public enum DefaultFont extends Enum<DefaultFont> implements FontKey
| Enum Constant and Description |
|---|
DEFAULT_FONT |
| Modifier and Type | Method and Description |
|---|---|
FontKey |
getKey()
Gets key.
|
static DefaultFont |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultFont[] |
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, valueOfequalspublic static final DefaultFont DEFAULT_FONT
public static DefaultFont[] values()
for (DefaultFont c : DefaultFont.values()) System.out.println(c);
public static DefaultFont 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 FontKey getKey()
DecorationEntityKeygetKey in interface DecorationEntityKey<FontKey>Copyright © 2018. All rights reserved.