UC Berkeley Group for User Interface Research
Updated November 17, 2000

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)

Inner Class Summary
 class SimpleEZTwainSource.TestFrame
           
 
Field Summary
protected  boolean boolMulti
           
protected  boolean boolTransferred
           
protected  EZTwainWrapper eztWrapper
           
protected  int hwnd
           
protected  Thread threadMulti
           
protected  Vector vecConsumers
           
 
Constructor Summary
SimpleEZTwainSource()
          Creates new SimpleEZTwainSource
 
Method Summary
 void addConsumer(ImageConsumer ic)
           
 boolean getMultiTransfer()
           
 boolean isConsumer(ImageConsumer ic)
           
static void main(String[] strArgs)
           
 void removeConsumer(ImageConsumer ic)
           
 void requestTopDownLeftRightResend(ImageConsumer ic)
           
 void run()
           
 void selectSource()
           
 void setMultiTransfer(boolean boolSet)
           
 void setParent(Component parent)
           
 void show()
           
 void startProduction(ImageConsumer ic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vecConsumers

protected Vector vecConsumers

eztWrapper

protected EZTwainWrapper eztWrapper

boolMulti

protected boolean boolMulti

threadMulti

protected Thread threadMulti

hwnd

protected int hwnd

boolTransferred

protected boolean boolTransferred
Constructor Detail

SimpleEZTwainSource

public SimpleEZTwainSource()
Creates new SimpleEZTwainSource
Method Detail

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()

Copyright Information