com.tuneology.sane
Class FixedOption

java.lang.Object
  |
  +--com.tuneology.sane.OptionDescriptor
        |
        +--com.tuneology.sane.FixedOption

public class FixedOption
extends OptionDescriptor

This option is an array of fixed-point (16 bits integer, 16 bits fractional) values.

Version:
$Id$
Author:
Fran Taylor

Method Summary
 int[] getValues()
           
 int setValues(int[] values)
           
 
Methods inherited from class com.tuneology.sane.OptionDescriptor
getCap, getDescription, getElements, getName, getRange, getSize, getTitle, getUnit, setAutomatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValues

public int[] getValues()
                throws SaneException
SaneException

setValues

public int setValues(int[] values)
              throws SaneException
Parameters:
values - the new values.
Returns:
the following bits may be set: Sane.INFO_INEXACT, Sane.INFO_RELOAD_OPTIONS, Sane.INFO_RELOAD_PARAMS.
Throws:
SaneException