public enum PrintWidthDiagram extends java.lang.Enum<PrintWidthDiagram> implements Width
Modifier and Type | Method and Description |
---|---|
int |
getWidth() |
java.lang.String |
toString() |
static PrintWidthDiagram |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintWidthDiagram[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintWidthDiagram QUARTER
public static final PrintWidthDiagram HALF
public static final PrintWidthDiagram FULL
public static PrintWidthDiagram[] values()
for (PrintWidthDiagram c : PrintWidthDiagram.values()) System.out.println(c);
public static PrintWidthDiagram 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 java.lang.String toString()
toString
in class java.lang.Enum<PrintWidthDiagram>