eu.gnome.morena.wia
Class SupportedPropertyValues

java.lang.Object
  extended by eu.gnome.morena.wia.SupportedPropertyValues
All Implemented Interfaces:
WIAConstants

public class SupportedPropertyValues
extends java.lang.Object
implements WIAConstants


Field Summary
 
Fields inherited from interface eu.gnome.morena.wia.WIAConstants
WIA_CATEGORY_AUTO, WIA_CATEGORY_FEEDER, WIA_CATEGORY_FEEDER_BACK, WIA_CATEGORY_FEEDER_FRONT, WIA_CATEGORY_FILM, WIA_CATEGORY_FINISHED_FILE, WIA_CATEGORY_FLATBED, WIA_CATEGORY_FOLDER, WIA_CATEGORY_ROOT, WIA_ERROR_BUSY, WIA_ERROR_COVER_OPEN, WIA_ERROR_DESTINATION, WIA_ERROR_DEVICE_COMMUNICATION, WIA_ERROR_DEVICE_LOCKED, WIA_ERROR_EXCEPTION_IN_DRIVER, WIA_ERROR_GENERAL_ERROR, WIA_ERROR_INCORRECT_HARDWARE_SETTING, WIA_ERROR_INVALID_COMMAND, WIA_ERROR_INVALID_DRIVER_RESPONSE, WIA_ERROR_ITEM_DELETED, WIA_ERROR_LAMP_OFF, WIA_ERROR_NETWORK_RESERVATION_FAILED, WIA_ERROR_OFFLINE, WIA_ERROR_PAPER_EMPTY, WIA_ERROR_PAPER_JAM, WIA_ERROR_PAPER_PROBLEM, WIA_ERROR_USER_INTERVENTION, WIA_ERROR_WARMING_UP, WIA_FLAG_NOM, WIA_FLAG_NUM_ELEMS, WIA_FLAG_VALUES, WIA_HANDLING_CAPABILITY_DUP, WIA_HANDLING_CAPABILITY_FEED, WIA_HANDLING_CAPABILITY_FLAT, WIA_HANDLING_SELECT_AUTO_ADVANCE, WIA_HANDLING_SELECT_BACK_FIRST, WIA_HANDLING_SELECT_BACK_ONLY, WIA_HANDLING_SELECT_DUPLEX, WIA_HANDLING_SELECT_FEEDER, WIA_HANDLING_SELECT_FLATBED, WIA_HANDLING_SELECT_FRONT_FIRST, WIA_HANDLING_SELECT_FRONT_ONLY, WIA_HANDLING_SELECT_NEXT_PAGE, WIA_HANDLING_SELECT_PREFEED, WIA_IPA_DATATYPE, WIA_IPA_DEPTH, WIA_IPS_BRIGHTNESS, WIA_IPS_CONTRAST, WIA_IPS_PAGE_SIZE, WIA_IPS_XEXTENT, WIA_IPS_XPOS, WIA_IPS_XRES, WIA_IPS_YEXTENT, WIA_IPS_YPOS, WIA_IPS_YRES, WIA_LIST_COUNT, WIA_LIST_NOM, WIA_LIST_NUM_ELEMS, WIA_LIST_VALUES, WIA_PROP_CACHEABLE, WIA_PROP_FLAG, WIA_PROP_LIST, WIA_PROP_NONE, WIA_PROP_RANGE, WIA_PROP_READ, WIA_PROP_SYNC_REQUIRED, WIA_PROP_WRITE, WIA_RANGE_MAX, WIA_RANGE_MIN, WIA_RANGE_NOM, WIA_RANGE_NUM_ELEMS, WIA_RANGE_STEP, WIA_TRANSFER_MSG_DEVICE_STATUS, WIA_TRANSFER_MSG_END_OF_STREAM, WIA_TRANSFER_MSG_END_OF_TRANSFER, WIA_TRANSFER_MSG_NEW_PAGE, WIA_TRANSFER_MSG_STATUS, WIA1_IT_MSG_DATA, WIA1_IT_MSG_DATA_HEADER, WIA1_IT_MSG_FILE_PREVIEW_DATA, WIA1_IT_MSG_FILE_PREVIEW_DATA_HEADER, WIA1_IT_MSG_NEW_PAGE, WIA1_IT_MSG_STATUS, WIA1_IT_MSG_TERMINATION
 
Constructor Summary
SupportedPropertyValues(int propId, java.lang.String desc, boolean isCurrValSet, int currVal, int propertyFlag, int[] values)
           
 
Method Summary
 int getCurrentValue()
           
 int getDefaultValue()
           
 java.util.List<java.lang.Integer> getList()
           
 int getMaxValue()
           
 int getMinValue()
           
 boolean isCurrentValueSet()
           
 boolean isFlag()
           
 boolean isFlagSet(int flag)
           
 boolean isList()
           
 boolean isNone()
           
 boolean isRange()
           
 boolean isWritable()
           
 java.lang.String print()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportedPropertyValues

public SupportedPropertyValues(int propId,
                               java.lang.String desc,
                               boolean isCurrValSet,
                               int currVal,
                               int propertyFlag,
                               int[] values)
Method Detail

getList

public java.util.List<java.lang.Integer> getList()

getDefaultValue

public int getDefaultValue()

isCurrentValueSet

public boolean isCurrentValueSet()

getCurrentValue

public int getCurrentValue()

isFlagSet

public boolean isFlagSet(int flag)

isWritable

public boolean isWritable()

isList

public boolean isList()

isRange

public boolean isRange()

isFlag

public boolean isFlag()

isNone

public boolean isNone()

getMaxValue

public int getMaxValue()

getMinValue

public int getMinValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

print

public java.lang.String print()