edu.berkeley.guir.lib.awt.image.eztwain
Class EZTwainWrapper
java.lang.Object
|
+--edu.berkeley.guir.lib.awt.image.eztwain.EZTwainWrapper
- public class EZTwainWrapper
- extends Object
Revisions: - GUIRLib-v1.0-1.0.0, Jan 21 2000, FL
Created class
- GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
Touched for GUIRLib release
- Since:
- JDK 1.3
- Version:
- GUIRLib-v1.4-1.0.0, Aug 31 2000
- Author:
- Francis Li (
fli@cs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TWAIN_BW
public static final int TWAIN_BW
TWAIN_GRAY
public static final int TWAIN_GRAY
TWAIN_RGB
public static final int TWAIN_RGB
TWAIN_PALETTE
public static final int TWAIN_PALETTE
TWAIN_ANYTYPE
public static final int TWAIN_ANYTYPE
TWAIN_PRESESSION
public static final int TWAIN_PRESESSION
TWAIN_SM_LOADED
public static final int TWAIN_SM_LOADED
TWAIN_SM_OPEN
public static final int TWAIN_SM_OPEN
TWAIN_SOURCE_OPEN
public static final int TWAIN_SOURCE_OPEN
TWAIN_SOURCE_ENABLED
public static final int TWAIN_SOURCE_ENABLED
TWAIN_TRANSFER_READY
public static final int TWAIN_TRANSFER_READY
TWAIN_TRANSFERRING
public static final int TWAIN_TRANSFERRING
EZTwainWrapper
public EZTwainWrapper()
- Creates new EZTwainWrapper
selectImageSource
public void selectImageSource(int hwnd)
acquireNative
public int acquireNative(int hwnd,
int pixTypes)
freeNative
public void freeNative(int handle)
dibWidth
public int dibWidth(int handle)
dibHeight
public int dibHeight(int handle)
dibDepth
public int dibDepth(int handle)
dibReadRowRGB
public void dibReadRowRGB(int handle,
int row,
byte[] buf)
getState
public int getState()
setMultiTransfer
public void setMultiTransfer(int val)
getMultiTransfer
public int getMultiTransfer()
closeSourceManager
public int closeSourceManager(int hwnd)
unloadSourceManager
public int unloadSourceManager()
closeSource
public int closeSource()
disableSource
public int disableSource()
enableSource
public int enableSource(int hwnd)
main
public static void main(String[] strArgs)