|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.bluetooth.demo.GUIImageClient
final class GUIImageClient
Provides a GUI to present the download options to used, gives a chance to make a choice, finally shows the downloaded image.
Constructor Summary | |
---|---|
GUIImageClient(DemoMIDlet parent)
Constructs client GUI. |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Process the command events. |
(package private) void |
completeInitialization(boolean isBTReady)
We have to provide this method due to "do not do network operation in command listener method" restriction, which is caused by crooked midp design. |
(package private) void |
destroy()
Destroys this component. |
(package private) void |
informLoadError(java.lang.String resMsg)
Informs the error during the selected image load. |
(package private) void |
informSearchError(java.lang.String resMsg)
Informs the error during the images search. |
(package private) void |
showImage(javax.microedition.lcdui.Image img,
java.lang.String imgName)
Shows the downloaded image. |
(package private) boolean |
showImagesNames(java.util.Hashtable base)
Shows the available images names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
GUIImageClient(DemoMIDlet parent)
Method Detail |
---|
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- - the issued command.d
- - the screen object the command was issued for.void completeInitialization(boolean isBTReady)
void destroy()
void informSearchError(java.lang.String resMsg)
void informLoadError(java.lang.String resMsg)
void showImage(javax.microedition.lcdui.Image img, java.lang.String imgName)
boolean showImagesNames(java.util.Hashtable base)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |