|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Device
A base interface corresponding to the generic image acquisition device like
scanner or camera. Scanning (scanner) or image transfer (camera) is initiated
via startTransfer(TransferDoneListener)
method call.
Field Summary |
---|
Fields inherited from interface eu.gnome.morena.Version |
---|
BUILD_DATE, BUILD_TIME, TMP_DIR, VERSION, VERSION_BUILD, VERSION_MAJOR, VERSION_MINOR |
Method Summary | |
---|---|
boolean |
setupDevice(java.lang.Object parentComponent)
Setup device for image transfer initiation |
void |
startTransfer()
Scanning (scanner) or image transfer initiation (camera). |
void |
startTransfer(TransferDoneListener transferDoneListener)
Scanning (scanner) or image transfer initiation (camera). |
java.lang.String |
toString()
Returns a string representation of this Device containing a description. |
Method Detail |
---|
boolean setupDevice(java.lang.Object parentComponent)
parentComponent
- - Parent window component for displaying the dialogs.
void startTransfer(TransferDoneListener transferDoneListener) throws java.lang.Exception
TransferDoneListener
provided is a callback handler that handles a
result of the transfer. Since the transfer process is asynchronous by
nature it should be considered that this method call does not wait for the
transfer is to be completed.
transferDoneListener
- - specifies the handler of the transferred image.
java.lang.Exception
void startTransfer() throws java.lang.Exception
TransferDoneListener
provided is a callback handler that handles a
result of the transfer. Since the transfer process is asynchronous by
nature it should be considered that this method call does not wait for the
transfer is to be completed.
java.lang.Exception
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |