public static enum HomePrint.PaperOrientation extends java.lang.Enum<HomePrint.PaperOrientation>
Enum Constant and Description |
---|
LANDSCAPE |
PORTRAIT |
REVERSE_LANDSCAPE |
Modifier and Type | Method and Description |
---|---|
static HomePrint.PaperOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HomePrint.PaperOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HomePrint.PaperOrientation PORTRAIT
public static final HomePrint.PaperOrientation LANDSCAPE
public static final HomePrint.PaperOrientation REVERSE_LANDSCAPE
public static HomePrint.PaperOrientation[] values()
for (HomePrint.PaperOrientation c : HomePrint.PaperOrientation.values()) System.out.println(c);
public static HomePrint.PaperOrientation 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 null
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License