|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.obex.demo.GUIImageReceiver
final class GUIImageReceiver
Constructor Summary | |
---|---|
GUIImageReceiver(ObexDemoMIDlet parent)
Constructor initialize receiverForm to show states of receiving. |
Method Summary | |
---|---|
(package private) boolean |
askPermission(java.lang.String imageName,
int imageLength)
Ascs user to download image. |
(package private) void |
canNotConnectMessage()
Shows alert with "not ready" message. |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Responds to commands used on this displayable. |
(package private) void |
showImage(byte[] imageData)
Shows downloaded image. |
(package private) void |
showProgress(int maxValue)
Shows progress bar of image downloading |
(package private) void |
showWaiting()
Shows string with waiting for connection message. |
(package private) void |
stop()
Stops receiving process in OBEX part. |
(package private) void |
stopMessage()
Shows alert with "stop" message. |
(package private) void |
updateProgress(int value)
Update progress of image downloading |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
GUIImageReceiver(ObexDemoMIDlet parent)
Method Detail |
---|
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- command object source of action.d
- screen object containing the item the action was performed on.boolean askPermission(java.lang.String imageName, int imageLength)
void showWaiting()
void showProgress(int maxValue)
void updateProgress(int value)
void showImage(byte[] imageData)
void canNotConnectMessage()
void stopMessage()
void stop()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |