public class BarcodeScannerTestDriver extends java.lang.Object implements BarcodeScanner
| Constructor and Description |
|---|
BarcodeScannerTestDriver(java.lang.String title,
int xPos,
int yPos)
Creates a graphically simulated barcode scanner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerObserver(BarcodeObserver observer)
Registers a new observer to call when a user has used the scanner.
|
public BarcodeScannerTestDriver(java.lang.String title,
int xPos,
int yPos)
title - The title of the window.xPos - The horizontal location of the window on the screenyPos - The vertical location of the window on the screenpublic void registerObserver(BarcodeObserver observer)
BarcodeScannerregisterObserver in interface BarcodeScannerobserver - an observer to add