|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SaneSource
Java wrapper for SANE source.
For more information about various capabilities see SANE Documentation.
Method Summary | |
---|---|
java.lang.String |
getModel()
Vendor specific model name. |
java.lang.String |
getName()
Vendor specific device name. |
java.lang.Object |
getOption(int index)
Get value of backend option with specified index. |
java.lang.Object |
getOption(java.lang.String name)
Get value of backend option with specified name. |
SaneOptionDescriptor[] |
getOptionDescriptors()
List of SANE backend options. |
int |
getOptionIndex(java.lang.String name)
Index of SANE backend option with specified name. |
int |
getOptionsCount()
Count of SANE backend options. |
java.lang.String |
getType()
One of the following strings: "film scanner", "flatbed scanner", "frame grabber", "handheld scanner", "multi-function peripheral", "sheetfed scanner", "still camera", "video camera" or "virtual device". |
java.lang.String |
getVendor()
One of the following strings: "AGFA", "Minolta", "Abaton", "Mitsubishi", "Acer", "Mustek", "Apple", "NEC", "Artec", "Nikon", "Avision", "Plustek", "CANON", "Polaroid", "Connectix", "Relisys", "Epson", "Ricoh", "Fujitsu", "Sharp", "Hewlett-Packard", "Siemens", "IBM", "Tamarack", "Kodak", "UMAX", "Logitech", "Microtek" or "Noname". |
java.lang.Object |
setOption(int index,
java.lang.Object value)
Set value of backend option with specified index. |
java.lang.Object |
setOption(java.lang.String name,
java.lang.Object value)
Set value of backend option with specified name. |
Methods inherited from interface SK.gnome.morena.MorenaSource |
---|
getBitDepth, getBrightness, getContrast, getResolution, maskBadValueException, maskUnsupportedCapabilityException, setBitDepth, setBrightness, setColorMode, setContrast, setFrame, setGrayScaleMode, setResolution, setVisible, toString |
Methods inherited from interface java.awt.image.ImageProducer |
---|
addConsumer, isConsumer, removeConsumer, requestTopDownLeftRightResend, startProduction |
Method Detail |
---|
java.lang.String getModel() throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.String getName() throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.String getType() throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.String getVendor() throws java.io.IOException, SaneException
java.io.IOException
SaneException
SaneOptionDescriptor[] getOptionDescriptors() throws java.io.IOException, SaneException
java.io.IOException
SaneException
int getOptionsCount() throws java.io.IOException, SaneException
java.io.IOException
SaneException
int getOptionIndex(java.lang.String name) throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.Object getOption(int index) throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.Object getOption(java.lang.String name) throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.Object setOption(int index, java.lang.Object value) throws java.io.IOException, SaneException
java.io.IOException
SaneException
java.lang.Object setOption(java.lang.String name, java.lang.Object value) throws java.io.IOException, SaneException
java.io.IOException
SaneException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |