com.tuneology.sane
Class IntegerOption

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

public class IntegerOption
extends OptionDescriptor

This option is an array of integers.

Version:
$Id$
Author:
Fran Taylor

Method Summary
 int[] getValues()
          Returns option values.
 int setValues(int[] values)
          Set option 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
Returns option values.

Returns:
array of values.
Throws:
SaneException

setValues

public int setValues(int[] values)
              throws SaneException
Set option values.

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