public enum PrintScale extends java.lang.Enum<PrintScale>
Enum Constant and Description |
---|
DAILY |
MONTHLY |
QUARTERLY |
WEEKLY |
YEARLY |
Modifier and Type | Method and Description |
---|---|
static PrintScale |
fromString(java.lang.String value) |
double |
getDefaultScale() |
static PrintScale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintScale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintScale DAILY
public static final PrintScale WEEKLY
public static final PrintScale MONTHLY
public static final PrintScale QUARTERLY
public static final PrintScale YEARLY
public static PrintScale[] values()
for (PrintScale c : PrintScale.values()) System.out.println(c);
public static PrintScale valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final double getDefaultScale()
public static PrintScale fromString(java.lang.String value)