Enum PrintScale
- java.lang.Object
-
- java.lang.Enum<PrintScale>
-
- net.sourceforge.plantuml.project.core.PrintScale
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PrintScale>
public enum PrintScale extends java.lang.Enum<PrintScale>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
DAILY
public static final PrintScale DAILY
-
WEEKLY
public static final PrintScale WEEKLY
-
MONTHLY
public static final PrintScale MONTHLY
-
QUARTERLY
public static final PrintScale QUARTERLY
-
YEARLY
public static final PrintScale YEARLY
-
-
Method Detail
-
values
public static PrintScale[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PrintScale c : PrintScale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrintScale valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDefaultScale
public final double getDefaultScale()
-
fromString
public static PrintScale fromString(java.lang.String value)
-
-