|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcafe.fingerprintauthentication.ReaderListener
public class ReaderListener
Purpose of this class is to listen IImageEventListener and
when new image is aquired to forward it to rest of the program.
| Constructor Summary | |
|---|---|
ReaderListener(FingerprintData imagelistener,
java.lang.String readername)
Creates a new ReaderListener object which has
FingerprintData-interface implementin object and
name of the reader we are listening as a parameter. |
|
| Method Summary | |
|---|---|
java.lang.String |
getReaderName()
Returns name of the reader for asking process. |
void |
onFingerDown(java.lang.String arg0)
Method from Griaule's interface we don't need. |
void |
onFingerUp(java.lang.String arg0)
Method from Griaule's interface we don't need. |
void |
onImageAcquired(java.lang.String arg0,
com.griaule.grfingerjava.FingerprintImage arg1)
This methond is called when fingerprint reader has aquired a fingerpint. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReaderListener(FingerprintData imagelistener,
java.lang.String readername)
ReaderListener object which has
FingerprintData-interface implementin object and
name of the reader we are listening as a parameter.
imagelistener - Non null object implementing FingerprintData-interface.readername - Non null and non empty String-object. Containing the name of the fingerprint reader.| Method Detail |
|---|
public void onImageAcquired(java.lang.String arg0,
com.griaule.grfingerjava.FingerprintImage arg1)
FingerprintData-interface for identification.
onImageAcquired in interface com.griaule.grfingerjava.IImageEventListenerarg0 - Name of the reader as a valid non empty String-object.arg1 - Fingeprint image as a non null FingerprintImage-object.public void onFingerDown(java.lang.String arg0)
onFingerDown in interface com.griaule.grfingerjava.IFingerEventListenerarg0 - Non null and non empty String-object containing the reader name (id).public void onFingerUp(java.lang.String arg0)
onFingerUp in interface com.griaule.grfingerjava.IFingerEventListenerarg0 - Non null and non empty String-object containing the reader name (id).public java.lang.String getReaderName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||