net.landspurg.map.tools
Class TrackManager
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.List
net.landspurg.map.tools.TrackManager
- All Implemented Interfaces:
- javax.microedition.lcdui.Choice, javax.microedition.lcdui.CommandListener, TrackNotifier
public class TrackManager
- extends javax.microedition.lcdui.List
- implements javax.microedition.lcdui.CommandListener, TrackNotifier
Manage a set of track:
- See Also:
Read the list of track, display them, able to receive
them from bluetooth (Obex), send them to bluetooth, etc...
|
Field Summary |
static int[] |
tabSec
|
| Fields inherited from class javax.microedition.lcdui.List |
SELECT_COMMAND |
| Fields inherited from interface javax.microedition.lcdui.Choice |
EXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ON |
| Methods inherited from class javax.microedition.lcdui.List |
append, delete, deleteAll, getFitPolicy, getFont, getImage, getSelectedFlags, getSelectedIndex, getString, insert, isSelected, removeCommand, set, setFitPolicy, setFont, setSelectCommand, setSelectedFlags, setSelectedIndex, setTicker, setTitle, size |
| Methods inherited from class javax.microedition.lcdui.Displayable |
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, setCommandListener, sizeChanged |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tabSec
public static final int[] tabSec
TrackManager
protected TrackManager(javax.microedition.lcdui.Display inDisplay,
MapCanvas map)
getTrackName
public java.lang.String getTrackName(Track track)
init
public static void init(javax.microedition.lcdui.Display d)
getManager
public static TrackManager getManager(MapCanvas map)
show
public void show()
renameTrack
public void renameTrack()
showListInterface
public void showListInterface(boolean isReceive)
loadYourFeed
public void loadYourFeed()
showFileBrowser
public void showFileBrowser()
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
onTrackLoaded
public void onTrackLoaded(Track track)
- Called when a track has been loaded!
- Specified by:
onTrackLoaded in interface TrackNotifier
sendServerRecords
public void sendServerRecords()
sending
public void sending(Track inTrack)
onTrackCreated
public void onTrackCreated(Track t)
- Description copied from interface:
TrackNotifier
- A new track has been created..
- Specified by:
onTrackCreated in interface TrackNotifier
- Parameters:
t - the track that has been created
onTrackSaved
public void onTrackSaved(Track t)
- Description copied from interface:
TrackNotifier
- A Track has been saved..
- Specified by:
onTrackSaved in interface TrackNotifier
- Parameters:
t - the track that has been saved