com.sony.csl.j2me.locationapitools.demo
Class NewTrackForm
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
com.sony.csl.j2me.locationapitools.demo.NewTrackForm
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener
public class NewTrackForm
- extends javax.microedition.lcdui.Form
- implements javax.microedition.lcdui.CommandListener
- Author:
- mstevens
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
midlet
private DemoMIDlet midlet
KML_FORMAT
public static final int KML_FORMAT
- See Also:
- Constant Field Values
CSV_FORMAT
public static final int CSV_FORMAT
- See Also:
- Constant Field Values
TXT_FORMAT
public static final int TXT_FORMAT
- See Also:
- Constant Field Values
cmdStart
private javax.microedition.lcdui.Command cmdStart
cmdCancel
private javax.microedition.lcdui.Command cmdCancel
txtPath
private javax.microedition.lcdui.TextField txtPath
txtTrackName
private javax.microedition.lcdui.TextField txtTrackName
chgrFormat
private javax.microedition.lcdui.ChoiceGroup chgrFormat
idxKML
private int idxKML
idxCSV
private int idxCSV
idxTXT
private int idxTXT
NewTrackForm
public NewTrackForm(DemoMIDlet midlet)
getPath
public java.lang.String getPath()
- Returns:
- the chosen folder path
getTrackName
public java.lang.String getTrackName()
- Returns:
- the chosen track name
getTrackFormat
public int getTrackFormat()
- Returns:
- the chosen track format
commandAction
public void commandAction(javax.microedition.lcdui.Command cmd,
javax.microedition.lcdui.Displayable disp)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener