|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IScannerAccess
Interface to specify a Java (SWT) connection to scanner devices e.g. via TWAIN or SANE Implementing class must implement IScannerAccess and IScannerAccess.ISource. It must return all available Sources on a call to getSources(), let the user configure a source via configureSource(), and must aquire an image from the source on a call to aquire
| Nested Class Summary | |
|---|---|
static interface |
IScannerAccess.ISource
An Image source |
| Method Summary | |
|---|---|
ImageData |
aquire(IScannerAccess.ISource src)
Aquire an Image from the Scanner and create an SWT image from it. |
void |
configureSource(IScannerAccess.ISource src,
java.lang.Object configuration)
let the user enter configuration details (e.g. resolution settings, color settings) with the scanner specific dialog |
IScannerAccess.ISource |
getDefaultSource()
|
IScannerAccess.ISource[] |
getSources()
Retrieve all available Sources (scanners, cameras etc) |
void |
setDefaultSource(IScannerAccess.ISource src)
|
| Method Detail |
|---|
IScannerAccess.ISource[] getSources()
IScannerAccess.ISource getDefaultSource()
void setDefaultSource(IScannerAccess.ISource src)
void configureSource(IScannerAccess.ISource src,
java.lang.Object configuration)
src - the scan source o configure
ImageData aquire(IScannerAccess.ISource src)
throws java.lang.Exception
src - the Scanner to use
java.lang.Exception
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||