public static enum StampaMappa.Orientamento extends java.lang.Enum<StampaMappa.Orientamento>
Enum Constant and Description |
---|
ORIZZONTALE |
VERTICALE |
Modifier and Type | Method and Description |
---|---|
static StampaMappa.Orientamento |
decode(java.lang.String tipo) |
java.lang.String |
getTipo() |
static StampaMappa.Orientamento |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StampaMappa.Orientamento[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StampaMappa.Orientamento ORIZZONTALE
public static final StampaMappa.Orientamento VERTICALE
public static StampaMappa.Orientamento[] values()
for (StampaMappa.Orientamento c : StampaMappa.Orientamento.values()) System.out.println(c);
public static StampaMappa.Orientamento 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 getTipo()
public static StampaMappa.Orientamento decode(java.lang.String tipo)