public enum ZebraFont extends Enum<ZebraFont>
| Enum Constant and Description |
|---|
ZEBRA_A |
ZEBRA_B |
ZEBRA_C |
ZEBRA_D |
ZEBRA_F |
ZEBRA_G |
ZEBRA_ZERO |
| Modifier and Type | Method and Description |
|---|---|
static String |
findBestEquivalentFontForPreview(ZebraFont zebraFont)
Fonction use for preview to find an equivalent font compatible with Graphic2D
|
String |
getLetter() |
static ZebraFont |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZebraFont[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZebraFont ZEBRA_ZERO
public static final ZebraFont ZEBRA_A
public static final ZebraFont ZEBRA_B
public static final ZebraFont ZEBRA_C
public static final ZebraFont ZEBRA_D
public static final ZebraFont ZEBRA_F
public static final ZebraFont ZEBRA_G
public static ZebraFont[] values()
for (ZebraFont c : ZebraFont.values()) System.out.println(c);
public static ZebraFont 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 String getLetter()
Copyright © 2015. All Rights Reserved.