com.epson.EpsonCom
Enum EpsonCom.ERROR_CODE

java.lang.Object
  extended by java.lang.Enum<EpsonCom.ERROR_CODE>
      extended by com.epson.EpsonCom.EpsonCom.ERROR_CODE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EpsonCom.ERROR_CODE>
Enclosing class:
EpsonCom

public static enum EpsonCom.ERROR_CODE
extends java.lang.Enum<EpsonCom.ERROR_CODE>


Enum Constant Summary
DEVICE_ALREADY_OPEN
           
FAILED
           
INVALID_BIT_DEPTH
           
INVALID_CALLBACK_OBJECT
           
INVALID_CALLBACK_SELECTOR
           
INVALID_CROP_AREA
           
INVALID_CROP_AREA_INDEX
           
INVALID_DEVICE_STATUS_TYPE
           
INVALID_FONT
           
INVALID_IMAGE_FORMAT
           
INVALID_IMAGE_PROCESSING
           
INVALID_IP_ADDRESS
           
INVALID_JUSTIFICATION
           
INVALID_PAPER_SIDE
           
INVALID_PARAMETER_COMBINATION
           
INVALID_PARAMETER_FOR_CARDSCAN
           
INVALID_PORT_NAME
           
INVALID_PORT_NUMBER
           
INVALID_PORT_TYPE
           
INVALID_PRINT_DIRECTION
           
INVALID_PRINT_PAGE_MODE
           
INVALID_SCAN_AREA
           
INVALID_THRESHOLD
           
NO_DEVICE_PARAMETERS
           
SUCCESS
           
TIMEOUT
           
 
Method Summary
static EpsonCom.ERROR_CODE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EpsonCom.ERROR_CODE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final EpsonCom.ERROR_CODE SUCCESS

FAILED

public static final EpsonCom.ERROR_CODE FAILED

TIMEOUT

public static final EpsonCom.ERROR_CODE TIMEOUT

NO_DEVICE_PARAMETERS

public static final EpsonCom.ERROR_CODE NO_DEVICE_PARAMETERS

DEVICE_ALREADY_OPEN

public static final EpsonCom.ERROR_CODE DEVICE_ALREADY_OPEN

INVALID_PORT_TYPE

public static final EpsonCom.ERROR_CODE INVALID_PORT_TYPE

INVALID_PORT_NAME

public static final EpsonCom.ERROR_CODE INVALID_PORT_NAME

INVALID_PORT_NUMBER

public static final EpsonCom.ERROR_CODE INVALID_PORT_NUMBER

INVALID_IP_ADDRESS

public static final EpsonCom.ERROR_CODE INVALID_IP_ADDRESS

INVALID_IMAGE_FORMAT

public static final EpsonCom.ERROR_CODE INVALID_IMAGE_FORMAT

INVALID_BIT_DEPTH

public static final EpsonCom.ERROR_CODE INVALID_BIT_DEPTH

INVALID_IMAGE_PROCESSING

public static final EpsonCom.ERROR_CODE INVALID_IMAGE_PROCESSING

INVALID_THRESHOLD

public static final EpsonCom.ERROR_CODE INVALID_THRESHOLD

INVALID_DEVICE_STATUS_TYPE

public static final EpsonCom.ERROR_CODE INVALID_DEVICE_STATUS_TYPE

INVALID_SCAN_AREA

public static final EpsonCom.ERROR_CODE INVALID_SCAN_AREA

INVALID_CROP_AREA

public static final EpsonCom.ERROR_CODE INVALID_CROP_AREA

INVALID_CROP_AREA_INDEX

public static final EpsonCom.ERROR_CODE INVALID_CROP_AREA_INDEX

INVALID_PAPER_SIDE

public static final EpsonCom.ERROR_CODE INVALID_PAPER_SIDE

INVALID_FONT

public static final EpsonCom.ERROR_CODE INVALID_FONT

INVALID_JUSTIFICATION

public static final EpsonCom.ERROR_CODE INVALID_JUSTIFICATION

INVALID_PRINT_DIRECTION

public static final EpsonCom.ERROR_CODE INVALID_PRINT_DIRECTION

INVALID_PRINT_PAGE_MODE

public static final EpsonCom.ERROR_CODE INVALID_PRINT_PAGE_MODE

INVALID_CALLBACK_OBJECT

public static final EpsonCom.ERROR_CODE INVALID_CALLBACK_OBJECT

INVALID_CALLBACK_SELECTOR

public static final EpsonCom.ERROR_CODE INVALID_CALLBACK_SELECTOR

INVALID_PARAMETER_COMBINATION

public static final EpsonCom.ERROR_CODE INVALID_PARAMETER_COMBINATION

INVALID_PARAMETER_FOR_CARDSCAN

public static final EpsonCom.ERROR_CODE INVALID_PARAMETER_FOR_CARDSCAN
Method Detail

values

public static EpsonCom.ERROR_CODE[] 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 (EpsonCom.ERROR_CODE c : EpsonCom.ERROR_CODE.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EpsonCom.ERROR_CODE 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