|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Garmin.DeviceDisplayDefaultOptions
Defined in GarminDeviceDisplay.js
| Field Summary | |
String |
actionButtonClassName
Class name to add for all buttons/links that perform an action |
Function |
afterFinishFindDevices
The function called when device search completes successfully or unsuccessfully. |
Function |
afterFinishReadFromDevice
The function called when data is successfully read from the device. |
Function |
afterFinishWriteToDevice
The function called when data is successfully writte to the device. |
Boolean |
autoFindDevices
Looks for devices as soon as the page is loaded and the plugin unlocked. |
Boolean |
autoReadData
Start reading data from the device when one or more device(s) is found. |
Boolean |
autoSelectFirstDevice
When more than one device is detected automaticly pick the first device. |
Boolean |
autoWriteData
Start writing data to the device when one or more device(s) is found. |
String |
cancelFindDevicesButtonId
The id referencing the cancel find devices button. |
String |
cancelFindDevicesButtonText
The text for the cancel find device button. |
String |
cancelReadDataButtonId
The id referencing the cancel read data button. |
String |
cancelReadDataButtonText
The text on the cancel read button. |
String |
cancelReadStatusText
The status text that is displayed when user cancels the read progress. |
String |
cancelWriteDataButtonId
The id referencing the cancel write data button. |
String |
cancelWriteDataButtonText
The text on the cancel write button. |
Function |
customExceptionHandler
The function called when an error occurs. |
Array |
dataFilters
Array of filters to sequencialy apply to activities before being sent or displayed. |
String |
dataFound
Status message template exposed for internationalization. |
String |
dataReadProcessing
Status message exposed for internationalization. |
String |
deviceSelectElementId
The id referencing the device select box. |
String |
deviceSelectId
The id referencing the device select dropdown. |
String |
deviceSelectLabel
The label for the device select box. |
String |
deviceSelectLabelId
The id referencing the device select box label. |
String |
downloadAndInstall
Request message exposed for internationalization. |
Object |
elementClassName
The class name used by various parts of the display to make CSS styling easier. |
String |
findCancelled
Status message exposed for internationalization. |
String |
findDevicesButtonId
The id referencing the find devices button. |
String |
findDevicesButtonText
The text for the find device button. |
String |
findDevicesElementId
The id referencing the HTML container around the find devices buttons. |
String |
foundDevice
Status template exposed for internationalization. |
String |
foundDevices
Status template exposed for internationalization. |
Function |
getGpiWriteDescription
The function called by the display in order to acquire the data that will be written to the device during the writing operation. |
Function |
getWriteData
The function called by the display in order to acquire the data that will be written to the device during the writing operation. |
String |
gpsData
Read data selection option exposed for internationalization. |
Boolean |
hideIfBrowserNotSupported
Action to take if browser is not supported: if true on't display the application, else if status bar is visible, display message, otherwise popup an alert dialog |
String |
installNow
Request message exposed for internationalization. |
Boolean |
loadTracksWithoutATimestamp
Load tracks even if they don't have a timestamp (technically these are routes). |
String |
lookingForDevices
Status message exposed for internationalization. |
String |
noDeviceDetectedStatusText
The status text that is displayed when no devices are found. |
String |
noParseSupportForType
Error message exposed for internationalization. |
String |
notOverwritingFile
Status message exposed for internationalization. |
String |
overwritingFile
Status message exposed for internationalization. |
String[] |
pathKeyPairsArray
The array of strings that contain the unlock codes for the plugin. |
String |
pluginNotUnlocked
Status message exposed for internationalization. |
String |
pluginUnlocked
Status message exposed for internationalization. |
String |
poweredByGarmin
Powered-by message. |
String |
progressBarDisplayId
The id of the element where the progress bar is to be displayed. |
String |
progressBarId
The container for the progress bar. |
String |
readDataButtonId
The id referencing the read data button. |
String |
readDataButtonText
The text on the read button. |
String |
readDataElementId
The id referencing the box containing read elements. |
String |
readDataType
Tells the plug-in what data type to read from the device. |
String |
readDataTypesSelectId
The id referencing the data type select. |
String |
readGoogleMapId
The id referencing the google map display. |
String |
readResultsElementClass
The class to set for results elements. |
String |
readResultsSelectClass
The class to set for select lists that are displaying results from a read operation. |
String |
readRoutesElementId
The id referencing the read routes element. |
String |
readRoutesSelectId
The id referencing the route select dropdown. |
String |
readRoutesSelectLabel
The label for the read routes select box. |
String |
readRoutesSelectLabelId
The id referencing the read routes select box label. |
String |
readTracksElementId
The id referencing the read tracks element. |
String |
readTracksSelectId
The id referencing the track select dropdown. |
String |
readTracksSelectLabel
The label for the read tracks select box. |
String |
readTracksSelectLabelId
The id referencing the read tracks select box label. |
String |
readWaypointsElementId
The id referencing the read tracks element. |
String |
readWaypointsSelectId
The id referencing the waypoint select dropdown. |
String |
readWaypointsSelectLabel
The label for the read waypoints select box. |
String |
readWaypointsSelectLabelId
The id referencing the read waypoints select box label. |
Boolean |
showCancelFindDevicesButton
Controls the view of the cancel find devices button. |
Boolean |
showCancelReadDataButton
Controls the view of the cancel read data button. |
Boolean |
showCancelWriteDataButton
Controls the view of the cancel write data button. |
Boolean |
showDeviceButtonsOnFound
Controls the view of the buttons related to find devices (find & cancel) if based on if the plugin finds one or more devices. |
BSoolean |
showDeviceButtonsOnLoad
If true the buttons will show when the page is rendered. |
Boolean |
showDeviceSelectNoDevice
Controls the view of the device select box. |
Boolean |
showDeviceSelectOnLoad
Controls the view of the device select box. |
Boolean |
showDeviceSelectOnSingle
Controls the view of the device select box. |
Boolean |
showFindDevicesButton
Allows granular control to hide the find devices button independent of the showCancelFindDevicesButton cancel button contol. |
Boolean |
showFindDevicesElement
Choice to display the find devices area that will search for connected devices. |
Boolean |
showProgressBar
The progress bar is a graphical percentage bar used to display the amount of reading/writing is complete. |
Boolean |
showReadDataElement
Display the user interface associated with reading from a connected device. |
Boolean |
showReadDataElementOnDeviceFound
Controls the view of the read data element. |
Boolean |
showReadDataTypesSelect
Display the dropdown select box for selecting what type of data to read from the device. |
Boolean |
showReadGoogleMap
Display google map. |
Boolean |
showReadResultsSelectOnLoad
Controls the view of the device select box. |
Boolean |
showReadRoutesSelect
Display the route select dropdown. |
Boolean |
showReadTracksSelect
Display the track select dropdown. |
Boolean |
showReadWaypointsSelect
Display the waypoint select dropdown. |
Boolean |
showStatusElement
The choice to display the feedback regarding the communications with the device. |
Boolean |
showWriteDataElement
Display the user interface associated with writing to a connected device. |
Boolean |
showWriteDataElementOnDeviceFound
Controls the view of the write data element. |
String |
statusElementId
The id of the HTML element where the statusBox is to be rendered. |
String |
statusTextId
The id of the HTML element where the status text messages are to be displayed. |
String |
trackListing
Track list box item template exposed for internationalization. |
String |
trainingData
Read data selection option exposed for internationalization. |
Boolean |
unlockOnPageLoad
Unlock plugin when user lands on containing page which may result in security or plugin-not-installed messages. |
Boolean |
useLinks
Display link instead of buttons. |
String |
using
Status message exposed for internationalization. |
String |
writeDataButtonId
The id referencing the write data button. |
String |
writeDataButtonText
The text on the write button. |
String |
writeDataType
Tells the plug-in what data type to write to the device. |
String |
writingCancelled
Status message exposed for internationalization. |
String |
writingToDevice
Status message exposed for internationalization. |
String |
writtenToDevice
Status message exposed for internationalization. |
| Constructor Summary | |
Garmin.DeviceDisplayDefaultOptions()
The default display options for the generated plug-in elements including booleans for which sub-items to show. |
|
| Method Summary | |
Function
|
getWriteDataFileName()
The function called by the display in order to acquire the filename of the data that will be written to the device during the writing operation. |
| Field Detail |
String actionButtonClassName
Function afterFinishFindDevices
Function afterFinishReadFromDevice
Function afterFinishWriteToDevice
Boolean autoFindDevices
Boolean autoReadData
Boolean autoSelectFirstDevice
Boolean autoWriteData
String cancelFindDevicesButtonId
String cancelFindDevicesButtonText
String cancelReadDataButtonId
String cancelReadDataButtonText
String cancelReadStatusText
String cancelWriteDataButtonId
String cancelWriteDataButtonText
Function customExceptionHandler
Array dataFilters
String dataFound
String dataReadProcessing
String deviceSelectElementId
String deviceSelectId
String deviceSelectLabel
String deviceSelectLabelId
String downloadAndInstall
Object elementClassName
String findCancelled
String findDevicesButtonId
String findDevicesButtonText
String findDevicesElementId
default = deviceBox
String foundDevice
String foundDevices
Function getGpiWriteDescription
Function getWriteData
String gpsData
Boolean hideIfBrowserNotSupported
String installNow
Boolean loadTracksWithoutATimestamp
String lookingForDevices
String noDeviceDetectedStatusText
String noParseSupportForType
String notOverwritingFile
String overwritingFile
String[] pathKeyPairsArray
String pluginNotUnlocked
String pluginUnlocked
String poweredByGarmin
String progressBarDisplayId
String progressBarId
String readDataButtonId
String readDataButtonText
String readDataElementId
String readDataType
This property works in conjunction with the following functions, based on the datatype:
For CRS and Garmin.DeviceDisplayDefaultOptions.prototype.GPX = Define;the getWriteData() and getWriteDataFileName() functions in your options section.
For Garmin.DeviceDisplayDefaultOptions.prototype.GPI = Define;the getWriteData() and getWriteDataFileName() functions in your options section. The getGpiWriteDescription() function replaces getWriteData().
default value = "gpx"
String readDataTypesSelectId
String readGoogleMapId
String readResultsElementClass
String readResultsSelectClass
String readRoutesElementId
String readRoutesSelectId
String readRoutesSelectLabel
String readRoutesSelectLabelId
String readTracksElementId
String readTracksSelectId
String readTracksSelectLabel
String readTracksSelectLabelId
String readWaypointsElementId
String readWaypointsSelectId
String readWaypointsSelectLabel
String readWaypointsSelectLabelId
Boolean showCancelFindDevicesButton
Boolean showCancelReadDataButton
Boolean showCancelWriteDataButton
Boolean showDeviceButtonsOnFound
Controls the view of the buttons related to find devices (find & cancel) if based on if the plugin finds one or more devices. When set to false and used with showDeviceButtonsOnLoad=false and autoFindDevices=true these buttons will only show up if a device is not found (minimizing confusion for the user).
More granular control is provided on each of the device buttons showFindDevicesButton and showCancelFindDevicesButton.
BSoolean showDeviceButtonsOnLoad
Boolean showDeviceSelectNoDevice
Boolean showDeviceSelectOnLoad
Boolean showDeviceSelectOnSingle
Boolean showFindDevicesButton
Boolean showFindDevicesElement
Boolean showProgressBar
Boolean showReadDataElement
Boolean showReadDataElementOnDeviceFound
Boolean showReadDataTypesSelect
Boolean showReadGoogleMap
Boolean showReadResultsSelectOnLoad
Boolean showReadRoutesSelect
Boolean showReadTracksSelect
Boolean showReadWaypointsSelect
Boolean showStatusElement
Boolean showWriteDataElement
Boolean showWriteDataElementOnDeviceFound
String statusElementId
String statusTextId
String trackListing
String trainingData
Boolean unlockOnPageLoad
Boolean useLinks
String using
String writeDataButtonId
String writeDataButtonText
String writeDataType
String writingCancelled
String writingToDevice
String writtenToDevice
| Constructor Detail |
Garmin.DeviceDisplayDefaultOptions()
| Method Detail |
Function getWriteDataFileName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||