net.landspurg.map.tools
Class ObexManager

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.Form
              extended by net.landspurg.map.tools.ObexManager
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class ObexManager
extends javax.microedition.lcdui.Form
implements javax.microedition.lcdui.CommandListener


Field Summary
protected  javax.microedition.lcdui.Display m_display
           
protected  javax.microedition.lcdui.Displayable m_displayable
           
protected  TrackNotifier m_listener
           
protected  javax.microedition.lcdui.StringItem s
           
 
Constructor Summary
protected ObexManager(javax.microedition.lcdui.Display d)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
           
static ObexManager getManager(javax.microedition.lcdui.Display d)
           
 void receiveFile(javax.microedition.lcdui.Displayable dis)
           
 void sendFile(Track t, int type)
           
 void setListener(TrackNotifier listener)
           
 
Methods inherited from class javax.microedition.lcdui.Form
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle, sizeChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_display

protected javax.microedition.lcdui.Display m_display

m_displayable

protected javax.microedition.lcdui.Displayable m_displayable

s

protected javax.microedition.lcdui.StringItem s

m_listener

protected TrackNotifier m_listener
Constructor Detail

ObexManager

protected ObexManager(javax.microedition.lcdui.Display d)
Method Detail

getManager

public static ObexManager getManager(javax.microedition.lcdui.Display d)

sendFile

public void sendFile(Track t,
                     int type)
              throws java.io.IOException
Throws:
java.io.IOException

receiveFile

public void receiveFile(javax.microedition.lcdui.Displayable dis)

setListener

public void setListener(TrackNotifier listener)

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener