com.tuneology.sane
Class ButtonOption

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

public class ButtonOption
extends OptionDescriptor

This option has no value. Instead, this option has a user-initiated button-press event, used by a backend (for example) to provide a means to select default values or to the tell an automatic document feeder to advance to the next sheet of paper.

Version:
$Id$
Author:
Fran Taylor

Method Summary
 int pressButton()
           
 
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

pressButton

public int pressButton()
                throws SaneException
Returns:
the following bits may be set: Sane.INFO_INEXACT, Sane.INFO_RELOAD_OPTIONS, Sane.INFO_RELOAD_PARAMS.
Throws:
SaneException