|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SaneConstants
Usefull constants defined by SANE specification.
Field Summary | |
---|---|
static int |
SANE_ACTION_GET_VALUE
Get current option value. |
static int |
SANE_ACTION_SET_AUTO
Turn on automatic mode. |
static int |
SANE_ACTION_SET_VALUE
Set option value. |
static int |
SANE_CAP_ADVANCED
If set, this capability indicates that the option should be considered an ``advanced user option.'' A frontend typically displays such options in a less conspicuous way than regular options (e.g., a command line interface may list such options last or a graphical interface may make them available in a seperate ``advanced settings'' dialog). |
static int |
SANE_CAP_AUTOMATIC
If set, this capability indicates that the backend (or the device) is capable to picking a reasonable option value automatically. |
static int |
SANE_CAP_EMULATED
If set, this capability indicates that an option is not directly supported by the device and is instead emulated in the backend. |
static int |
SANE_CAP_HARD_SELECT
The option value can be set by user-intervention (e.g., by flipping a switch). |
static int |
SANE_CAP_INACTIVE
If set, this capability indicates that the option is not currently active (e.g., because it's meaningful only if another option is set to some other value). |
static int |
SANE_CAP_SOFT_DETECT
The option value can be detected by software. |
static int |
SANE_CAP_SOFT_SELECT
The option value can be set by a call to sane_control_option(). |
static int |
SANE_CONSTRAINT_NONE
The value is unconstrained. |
static int |
SANE_CONSTRAINT_RANGE
This constraint is applicable to integer and fixed-point valued options only. |
static int |
SANE_CONSTRAINT_STRING_LIST
This constraint is applicable to string-valued options only. |
static int |
SANE_CONSTRAINT_WORD_LIST
This constraint is applicable to integer and fixed-point valued options only. |
static int |
SANE_FRAME_BLUE
Blue band of a red/green/blue image. |
static int |
SANE_FRAME_GRAY
Band covering human visual range. |
static int |
SANE_FRAME_GREEN
Green band of a red/green/blue image. |
static int |
SANE_FRAME_RED
Red band of a red/green/blue image. |
static int |
SANE_FRAME_RGB
Pixel-interleaved red/green/blue bands. |
static int |
SANE_NET_AUTHORIZE
|
static int |
SANE_NET_CANCEL
|
static int |
SANE_NET_CLOSE
|
static int |
SANE_NET_CONTROL_OPTION
|
static int |
SANE_NET_EXIT
|
static int |
SANE_NET_GET_DEVICES
|
static int |
SANE_NET_GET_OPTION_DESCRIPTORS
|
static int |
SANE_NET_GET_PARAMETERS
|
static int |
SANE_NET_INIT
|
static int |
SANE_NET_OPEN
|
static int |
SANE_NET_START
|
static int |
SANE_STATUS_ACCESS_DENIED
Return code - Access denied |
static int |
SANE_STATUS_CANCELLED
Return code - Operation was cancelled |
static int |
SANE_STATUS_COVER_OPEN
Return code - Scanner cover is open |
static int |
SANE_STATUS_DEVICE_BUSY
Return code - Device is busy; try again later |
static int |
SANE_STATUS_EOF
Return code - No more data available (end-of-file) |
static int |
SANE_STATUS_GOOD
Return code - Operation completed succesfully |
static int |
SANE_STATUS_INVAL
Return code - Data is invalid (includes no dev at open) |
static int |
SANE_STATUS_IO_ERROR
Return code - Error during device I/O |
static int |
SANE_STATUS_JAMMED
Return code - Document feeder jammed |
static int |
SANE_STATUS_NO_DOCS
Return code - Document feeder out of documents |
static int |
SANE_STATUS_NO_MEM
Return code - Out of memory |
static int |
SANE_STATUS_UNSUPPORTED
Return code - Operation is not supported |
static int |
SANE_TYPE_BOOL
Option value is of type SANE_Bool. |
static int |
SANE_TYPE_BUTTON
An option of this type has no value. |
static int |
SANE_TYPE_FIXED
Option value is of type SANE_Fixed. |
static int |
SANE_TYPE_GROUP
An option of this type has no value. |
static int |
SANE_TYPE_INT
Option value is of type SANE_Int. |
static int |
SANE_TYPE_STRING
Option value is of type SANE_String. |
static int |
SANE_UNIT_BIT
Value is in number of bits. |
static int |
SANE_UNIT_DPI
Value is a resolution in dots/inch. |
static int |
SANE_UNIT_MICROSECOND
Value is time in �-seconds. |
static int |
SANE_UNIT_MM
Value is in millimeters. |
static int |
SANE_UNIT_NONE
Value is unit-less (e.g., page count). |
static int |
SANE_UNIT_PERCENT
Value is a percentage. |
static int |
SANE_UNIT_PIXEL
Value is in number of pixels. |
static int |
SANE_VERSION
|
static java.lang.String[] |
STATUS_CODE
|
static int |
UNFIX_CONST
|
Fields inherited from interface SK.gnome.morena.MorenaConstants |
---|
MORENA_MESSAGES, VERSION |
Field Detail |
---|
static final int SANE_VERSION
static final int UNFIX_CONST
static final int SANE_NET_INIT
static final int SANE_NET_GET_DEVICES
static final int SANE_NET_OPEN
static final int SANE_NET_CLOSE
static final int SANE_NET_GET_OPTION_DESCRIPTORS
static final int SANE_NET_CONTROL_OPTION
static final int SANE_NET_GET_PARAMETERS
static final int SANE_NET_START
static final int SANE_NET_CANCEL
static final int SANE_NET_AUTHORIZE
static final int SANE_NET_EXIT
static final java.lang.String[] STATUS_CODE
static final int SANE_STATUS_GOOD
static final int SANE_STATUS_UNSUPPORTED
static final int SANE_STATUS_CANCELLED
static final int SANE_STATUS_DEVICE_BUSY
static final int SANE_STATUS_INVAL
static final int SANE_STATUS_EOF
static final int SANE_STATUS_JAMMED
static final int SANE_STATUS_NO_DOCS
static final int SANE_STATUS_COVER_OPEN
static final int SANE_STATUS_IO_ERROR
static final int SANE_STATUS_NO_MEM
static final int SANE_STATUS_ACCESS_DENIED
static final int SANE_TYPE_BOOL
static final int SANE_TYPE_INT
static final int SANE_TYPE_FIXED
static final int SANE_TYPE_STRING
static final int SANE_TYPE_BUTTON
static final int SANE_TYPE_GROUP
static final int SANE_UNIT_NONE
static final int SANE_UNIT_PIXEL
static final int SANE_UNIT_BIT
static final int SANE_UNIT_MM
static final int SANE_UNIT_DPI
static final int SANE_UNIT_PERCENT
static final int SANE_UNIT_MICROSECOND
static final int SANE_CONSTRAINT_NONE
static final int SANE_CONSTRAINT_RANGE
static final int SANE_CONSTRAINT_WORD_LIST
static final int SANE_CONSTRAINT_STRING_LIST
static final int SANE_FRAME_GRAY
static final int SANE_FRAME_RGB
static final int SANE_FRAME_RED
static final int SANE_FRAME_GREEN
static final int SANE_FRAME_BLUE
static final int SANE_ACTION_GET_VALUE
static final int SANE_ACTION_SET_VALUE
static final int SANE_ACTION_SET_AUTO
static final int SANE_CAP_SOFT_SELECT
static final int SANE_CAP_HARD_SELECT
static final int SANE_CAP_SOFT_DETECT
static final int SANE_CAP_EMULATED
static final int SANE_CAP_AUTOMATIC
static final int SANE_CAP_INACTIVE
static final int SANE_CAP_ADVANCED
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |