edu.berkeley.guir.lib.awt.image.eztwain
Class SimpleEZTwainSource
java.lang.Object
|
+--edu.berkeley.guir.lib.awt.image.eztwain.SimpleEZTwainSource
- All Implemented Interfaces:
- ImageProducer, Runnable, SimpleTwainSource
- public class SimpleEZTwainSource
- extends Object
- implements SimpleTwainSource, Runnable
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 |
vecConsumers
protected Vector vecConsumers
eztWrapper
protected EZTwainWrapper eztWrapper
boolMulti
protected boolean boolMulti
threadMulti
protected Thread threadMulti
hwnd
protected int hwnd
boolTransferred
protected boolean boolTransferred
SimpleEZTwainSource
public SimpleEZTwainSource()
- Creates new SimpleEZTwainSource
setParent
public void setParent(Component parent)
- Specified by:
setParent
in interface SimpleTwainSource
selectSource
public void selectSource()
- Specified by:
selectSource
in interface SimpleTwainSource
addConsumer
public void addConsumer(ImageConsumer ic)
- Specified by:
addConsumer
in interface ImageProducer
removeConsumer
public void removeConsumer(ImageConsumer ic)
- Specified by:
removeConsumer
in interface ImageProducer
isConsumer
public boolean isConsumer(ImageConsumer ic)
- Specified by:
isConsumer
in interface ImageProducer
requestTopDownLeftRightResend
public void requestTopDownLeftRightResend(ImageConsumer ic)
- Specified by:
requestTopDownLeftRightResend
in interface ImageProducer
setMultiTransfer
public void setMultiTransfer(boolean boolSet)
- Specified by:
setMultiTransfer
in interface SimpleTwainSource
getMultiTransfer
public boolean getMultiTransfer()
- Specified by:
getMultiTransfer
in interface SimpleTwainSource
startProduction
public void startProduction(ImageConsumer ic)
- Specified by:
startProduction
in interface ImageProducer
run
public void run()
- Specified by:
run
in interface Runnable
main
public static void main(String[] strArgs)
show
public void show()