|
Use-case ID: (UC - 001)
|
Use-case name: Acquire a Twain Image
|
|
Created by Hugo Scavino
|
Last updated by Hugo Scavino
|
|
Date created: June 2, 2001
|
Date last updated: May 24, 2002
|
|
Actor(s):
|
End Swing subsystem, Intel JPEG Library
|
|
Description
|
Allows Java 1.4 Swing subsystem access to Twain
compliant devices
|
|
Preconditions
|
Valid Twain imaging device or Twain developer’s
sample source installed and tested. Win32 hardware environment.
|
|
Post conditions
|
none
|
|
Priority: (low/medium/high)
|
TBD
|
|
Frequency of Use
|
TBD
|
|
Normal course
|
Actor actions
|
System responses
|
|
|
1. The Swing application checks for the existence of
Twain
|
2. Twain exists
|
|
|
3. The application queries the Twain subsystem for all
the available sources
|
4. The application displays the choices in the Swing
1.4 GUI
|
|
|
5. The user chooses a source
|
6. The system sets the source as the new default source
|
|
|
7. The user presses an “Acquire” button as per the
Twain specification
|
8. The application retrieves a Java image into the
application
|
|
|
9. The application further processes a Java image as
the requirements state
|
|
|
Alternative course
|
Actor actions
|
System responses
|
|
|
1. The application checks for the existence of Twain
|
2. Twain exists
|
|
|
3. The user presses an “Acquire” button as per the
Twain specification
|
4. The system uses the default source as the current
source
|
|
|
|
5. The application retrieves a Java image into the
application
|
|
|
6. The application further processes a Java image as the
requirements state
|
|
|
Exceptions
|
Actor actions
|
System responses
|
|
|
TBD
|
TBD
|
|
Includes
(another use-case ID)
|
Actor actions
|
System responses
|
|
|
TBD
|
TBD
|
|
Special requirements
|
Runtime org.scavino.jtwain DLL file properly
installed on client hardware
|
|
Notes and issues
|
The Intel JPEG Library appears as an actor in later
detailed subsystem use-case design
|