com.twainconnect.core
Enum Dpi

java.lang.Object
  extended by java.lang.Enum<Dpi>
      extended by 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

Enum Constant Summary
eight_hundred
           
four_hundred
           
nine_teen_thousand
           
one_hundred
           
one_thousand
           
six_hundred
           
sixteen_hundred
           
thirty_two_thousand
           
three_hundred
           
twelve_hundred
           
two_hundred
           
 
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
 

Enum Constant Detail

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
Method Detail

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>