public abstract class TwainManager extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TwainManager.JImageDisplay |
protected static class |
TwainManager.PreviewDialog |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PREVIEW_RES |
protected static TwainManager.PreviewDialog |
previewDialog |
| Constructor and Description |
|---|
TwainManager() |
| Modifier and Type | Method and Description |
|---|---|
static Image |
acquire() |
static Image |
acquire(int resX,
int resY,
Rectangle2D.Double rExt) |
static Image |
acquire(int resX,
int resY,
Rectangle2D.Double rExt,
boolean showSourceGUI) |
static void |
center(Window f) |
protected static TwainManager.PreviewDialog |
createPreviewDialog(Component c) |
static int |
getTwainSourceCount() |
static Image |
preview() |
static Image |
preview(boolean showSourceGUI) |
static Object |
selectTwainSource() |
static Image |
showPreviewDialog(Component c) |
public static final int DEFAULT_PREVIEW_RES
protected static TwainManager.PreviewDialog previewDialog
public static Image showPreviewDialog(Component c) throws Exception
Exceptionpublic static Image acquire(int resX, int resY, Rectangle2D.Double rExt) throws Exception
Exceptionpublic static Image acquire(int resX, int resY, Rectangle2D.Double rExt, boolean showSourceGUI) throws Exception
resX - resY - rExt - in millimetersExceptionprotected static TwainManager.PreviewDialog createPreviewDialog(Component c)
public static void center(Window f)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.