example.obex.demo
Class GUIImageSender

java.lang.Object
  extended by example.obex.demo.GUIImageSender
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

final class GUIImageSender
extends java.lang.Object
implements javax.microedition.lcdui.CommandListener


Constructor Summary
GUIImageSender(ObexDemoMIDlet parent)
          Constructor initialize image list and sender form
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
          Responds to commands issued on "client or server" form.
(package private)  void errorMessage()
          Shows alert with error message
(package private)  void notReadyMessage()
          Shows alert with "not ready" message
(package private)  void showImageList()
          Shows list with image names to select one for sending to receiver
(package private)  void showProgress(java.lang.String label, int maxValue)
          Shows progress of image uploading
(package private)  void stop()
          Stops Uploading process
(package private)  void stopMessage()
          Shows alert with "stop" message
(package private)  void updateProgress(int value)
          Update progress of image uploading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIImageSender

GUIImageSender(ObexDemoMIDlet parent)
Constructor initialize image list and sender form

Method Detail

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Responds to commands issued on "client or server" form.

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Parameters:
c - command object source of action
d - screen object containing the item the action was performed on

showProgress

void showProgress(java.lang.String label,
                  int maxValue)
Shows progress of image uploading


updateProgress

void updateProgress(int value)
Update progress of image uploading


showImageList

void showImageList()
Shows list with image names to select one for sending to receiver


errorMessage

void errorMessage()
Shows alert with error message


notReadyMessage

void notReadyMessage()
Shows alert with "not ready" message


stopMessage

void stopMessage()
Shows alert with "stop" message


stop

void stop()
Stops Uploading process