public static enum PrintingContext.Range extends java.lang.Enum<PrintingContext.Range> implements EnumCreator<PrintingContext.Range>
| Enum Constant and Description |
|---|
ALL
The unbounded range
|
SELECTION
The range given by the user's selection
|
| Modifier and Type | Method and Description |
|---|---|
PrintingContext.Range |
createFrom(java.lang.String name)
Create a enumeration by its name.
|
PrintingContext.Range[] |
getValues()
Lists all values.
|
static PrintingContext.Range |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintingContext.Range[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintingContext.Range SELECTION
public static final PrintingContext.Range ALL
public static PrintingContext.Range[] values()
for (PrintingContext.Range c : PrintingContext.Range.values()) System.out.println(c);
public static PrintingContext.Range 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 PrintingContext.Range[] getValues()
getValues in interface EnumCreator<PrintingContext.Range>public PrintingContext.Range createFrom(java.lang.String name)
createFrom in interface EnumCreator<PrintingContext.Range>name - The name