SK.gnome.morena
Class MorenaOptionsDescriptor

java.lang.Object
  extended by SK.gnome.morena.MorenaOptionsDescriptor
Direct Known Subclasses:
SaneOptionDescriptor

public class MorenaOptionsDescriptor
extends java.lang.Object

Base class for SaneOptionDescriptor (and TwainOptionDescriptor in future).


Nested Class Summary
static class MorenaOptionsDescriptor.DoubleRange
          Double range type.
static class MorenaOptionsDescriptor.IntRange
          Integer range type.
 
Field Summary
 int cap
          Option capabilities.
 java.lang.Object constraint
          Option constraints.
 java.lang.String description
          Option description.
 java.lang.String name
          Option name.
 int size
          Option value size (in bytes).
 java.lang.String title
          Human readable option title.
 int type
          Option type.
 int unit
          Option value unit.
 
Constructor Summary
MorenaOptionsDescriptor()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Option name.


title

public java.lang.String title
Human readable option title.


description

public java.lang.String description
Option description.


type

public int type
Option type. See type constants defined for TWAIN or SANE.


unit

public int unit
Option value unit. See value unit constants defined for TWAIN or SANE.


size

public int size
Option value size (in bytes).


cap

public int cap
Option capabilities. See option capabilities constants defined for TWAIN or SANE.


constraint

public java.lang.Object constraint
Option constraints. See option constraints constants defined for TWAIN or SANE.

Constructor Detail

MorenaOptionsDescriptor

public MorenaOptionsDescriptor()