|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbt747.model.Controller
bt747.waba_view.AppController
public final class AppController
Constructor Summary | |
---|---|
AppController(Model model)
|
Method Summary | |
---|---|
void |
addView(BT747View view)
Attach a view to the controller. |
void |
changeLogFormat(int logFormat)
(User) request to change the log format. |
void |
changeLogFormatAndErase(int logFormat)
(User) request to change the log format. |
void |
convertLog(int logType)
Convert the log given the provided parameters using other methods. |
GPSRecord[] |
convertLogToTrackPoints()
Convert the log into an array of trackpoints. |
void |
eraseLogWithDialogs()
User request to format the device. |
static void |
initAppSettings()
|
void |
performOperationsAfterGPSConnect()
This does a number of operations once the GPS is effectively connected. |
void |
recoveryErase()
A 'recovery Erase' attempts to recover memory that was previously identified as 'bad'. |
void |
saveSettings()
Save all the user settings to disk. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppController(Model model)
model
- The model to associate with this controller.Method Detail |
---|
public final void convertLog(int logType)
logType
- Indicates the type of log that should be written. For example
Model.CSV_LOGTYPE .Model.CSV_LOGTYPE
,
Model.TRK_LOGTYPE
,
Model.KML_LOGTYPE
,
Model.PLT_LOGTYPE
,
Model.GPX_LOGTYPE
,
Model.NMEA_LOGTYPE
,
Model.GMAP_LOGTYPE
public final GPSRecord[] convertLogToTrackPoints()
public final void recoveryErase()
public final void changeLogFormatAndErase(int logFormat)
logFormat
- The logFormat to set upon erase.public final void changeLogFormat(int logFormat)
logFormat
- The new log format to set.public final void eraseLogWithDialogs()
public final void addView(BT747View view)
view
- The view that must be attached.public final void performOperationsAfterGPSConnect()
Controller
performOperationsAfterGPSConnect
in class Controller
public static final void initAppSettings()
public final void saveSettings()
Controller
saveSettings
in class Controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |