com.twainconnect.core
Enum Dpi
java.lang.Object
java.lang.Enum<Dpi>
com.twainconnect.core.Dpi
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Dpi>
public enum Dpi
- extends java.lang.Enum<Dpi>
Permitted DPI amounts. These are the ones supported by the JAR.
- Since:
- 5.0
- Version:
- 5.0.1
- Author:
- TwianConnect
|
Method Summary |
java.lang.String |
toString()
|
static Dpi |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Dpi[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
one_hundred
public static final Dpi one_hundred
two_hundred
public static final Dpi two_hundred
three_hundred
public static final Dpi three_hundred
four_hundred
public static final Dpi four_hundred
six_hundred
public static final Dpi six_hundred
eight_hundred
public static final Dpi eight_hundred
one_thousand
public static final Dpi one_thousand
twelve_hundred
public static final Dpi twelve_hundred
sixteen_hundred
public static final Dpi sixteen_hundred
nine_teen_thousand
public static final Dpi nine_teen_thousand
thirty_two_thousand
public static final Dpi thirty_two_thousand
values
public static Dpi[] 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 (Dpi c : Dpi.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Dpi 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 name
java.lang.NullPointerException - if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<Dpi>