Class Garmin.DeviceDisplay

Object
   |
   +--Garmin.DeviceDisplay

class Garmin.DeviceDisplay


Garmin.DeviceDisplay
Defined in GarminDeviceDisplay.js

Requires:


Field Summary
<static>  Object LINKS
          Constant defining links referenced in the DeviceDisplay
 
Constructor Summary
Garmin.DeviceDisplay(mainElement, options)
            Provides the easiest avenue for getting a working instance of the plug-in onto your page.
 
Method Summary
 void _applyDataFilters()
          
 Object _createElement(id, text, type, parent)
          
 void _finishReadProcessing(json)
          
 void _listActivities(activities)
          
 Garmin.Series _seriesFromSelect(select)
           Retreive the two index string value from the selected index.
 void cancelFindDevices()
           Entry point for cancelling search for connected devices.
 void clearMapDisplay()
           Clears overlays from map.
 void displayTrack(series)
           Draws a simple line on the map using the Garmin.MapController.
 void displayWaypoint(series)
           Draws a point (usualy as a thumb tack) on the map using the Garmin.MapController.
 void handleException(<Error> error)
           Central exception dispatch method, default is to If customExceptionHandler is defined, all error handling is delegated to that method - good luck.
 void hideProgressBar()
           Hides progress bar.
 Boolean isUnlocked()
           Plugin unlock status
 void onCancelFindDevices(json)
           Call-back for find device cancelled.
 void onCancelReadFromDevice(json)
           Call-back for device read cancelled.
 void onCancelWriteToDevice(json)
           Call-back triggered when write has been cancelled.
 void onException(json)
           Call-back for asynchronous method exceptions.
 void onFinishFindDevices(json)
           Call-back triggered after plugin has completed its search for devices.
 void onFinishReadFromDevice(json)
           Call-back for device read.
 void onFinishWriteToDevice(json)
          
 void onProgressReadFromDevice(json)
           Call-back for device read progress.
 void onProgressWriteToDevice(json)
          
 void onStartFindDevices(json)
           Call-back triggered before plugin searches for connected devices.
 void onStartWriteToDevice(json)
           Call-back triggered before writing to a device.
 void onWaitingWriteToDevice(json)
           Call-back when the device already has a file with this name on it.
 void readFromDevice()
           Initiation call for reading from a device.
 void readSpecificTypeFromDevice(<String> extension)
           Initiation call for reading from a device.
 void resetUI()
           Resets UI widgets based on state of application.
 void setOptions(<Object> options)
           Sets options for this display object.
 void setStatus(statusText)
           Set status text if showStatusElement is visible.
 void showProgressBar()
           Makes progress bar visible.
 void startFindDevices()
           Entry point for searching for connected devices.
 void updateProgressBar(value)
           Update percentage representation of progress bar.
 void writeToDevice()
           Writes any supported data to the device.

Field Detail

LINKS

<static> Object LINKS

Constructor Detail

Garmin.DeviceDisplay

Garmin.DeviceDisplay(mainElement, options)

Method Detail

_applyDataFilters

void _applyDataFilters()

_createElement

Object _createElement(id, text, type, parent)

_finishReadProcessing

void _finishReadProcessing(json)

_listActivities

void _listActivities(activities)

_seriesFromSelect

Garmin.Series _seriesFromSelect(select)

cancelFindDevices

void cancelFindDevices()

clearMapDisplay

void clearMapDisplay()

displayTrack

void displayTrack(series)

displayWaypoint

void displayWaypoint(series)

handleException

void handleException(<Error> error)

hideProgressBar

void hideProgressBar()

isUnlocked

Boolean isUnlocked()

onCancelFindDevices

void onCancelFindDevices(json)

onCancelReadFromDevice

void onCancelReadFromDevice(json)

onCancelWriteToDevice

void onCancelWriteToDevice(json)

onException

void onException(json)

onFinishFindDevices

void onFinishFindDevices(json)

onFinishReadFromDevice

void onFinishReadFromDevice(json)

onFinishWriteToDevice

void onFinishWriteToDevice(json)

onProgressReadFromDevice

void onProgressReadFromDevice(json)

onProgressWriteToDevice

void onProgressWriteToDevice(json)

onStartFindDevices

void onStartFindDevices(json)

onStartWriteToDevice

void onStartWriteToDevice(json)

onWaitingWriteToDevice

void onWaitingWriteToDevice(json)

readFromDevice

void readFromDevice()

readSpecificTypeFromDevice

void readSpecificTypeFromDevice(<String> extension)

resetUI

void resetUI()

setOptions

void setOptions(<Object> options)

setStatus

void setStatus(statusText)

showProgressBar

void showProgressBar()

startFindDevices

void startFindDevices()

updateProgressBar

void updateProgressBar(value)

writeToDevice

void writeToDevice()


Documentation generated by JSDoc on Fri Sep 14 17:27:44 2007