Class Garmin.DeviceDisplayDefaultOptions

Object
   |
   +--Garmin.DeviceDisplayDefaultOptions

class Garmin.DeviceDisplayDefaultOptions



Defined in GarminDeviceDisplay.js


Field Summary
 String actionButtonClassName
          Class name to add for all buttons/links that perform an action
 Object activityDirectoryDataId
          
 Object activityDirectoryElementId
          
 Object activityDirectoryHeaderDate
          
 Object activityDirectoryHeaderDuration
          
 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.
 Object autoHideUnusedReadElements
          
 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.
 Object deviceSelectedElementId
          
 Object deviceSelectedLabel
          
 Object deviceSelectedLabelId
          
 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.
 Object errorActivitySelect
          
 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.
 Function postActivityHandler
          The function called when a single activity is finished reading, and the data is ready to post.
 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.
 Object readSelectedButtonId
          
 Object readSelectedButtonText
          
 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 showActivityDirectoryElement
          Displays the activity directory table, which essentially allows users to select individual activities to read from the device.
 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.
 Object singleDeviceDetectedStatusText
          
 Object statusCellProcessingImg
          
 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.
 Object updateActivityStatus
          
 Object uploadDataButtonId
          
 Object uploadDataButtonText
          
 Object uploadingActivities
          
 Object uploadSelectedActivities
          
 Object uploadsFinished
          
 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

actionButtonClassName

String actionButtonClassName

activityDirectoryDataId

Object activityDirectoryDataId

activityDirectoryElementId

Object activityDirectoryElementId

activityDirectoryHeaderDate

Object activityDirectoryHeaderDate

activityDirectoryHeaderDuration

Object activityDirectoryHeaderDuration

afterFinishFindDevices

Function afterFinishFindDevices

afterFinishReadFromDevice

Function afterFinishReadFromDevice

afterFinishWriteToDevice

Function afterFinishWriteToDevice

autoFindDevices

Boolean autoFindDevices

autoHideUnusedReadElements

Object autoHideUnusedReadElements

autoReadData

Boolean autoReadData

autoSelectFirstDevice

Boolean autoSelectFirstDevice

autoWriteData

Boolean autoWriteData

cancelFindDevicesButtonId

String cancelFindDevicesButtonId

cancelFindDevicesButtonText

String cancelFindDevicesButtonText

cancelReadDataButtonId

String cancelReadDataButtonId

cancelReadDataButtonText

String cancelReadDataButtonText

cancelReadStatusText

String cancelReadStatusText

cancelWriteDataButtonId

String cancelWriteDataButtonId

cancelWriteDataButtonText

String cancelWriteDataButtonText

customExceptionHandler

Function customExceptionHandler

dataFilters

Array dataFilters

dataFound

String dataFound

dataReadProcessing

String dataReadProcessing

deviceSelectedElementId

Object deviceSelectedElementId

deviceSelectedLabel

Object deviceSelectedLabel

deviceSelectedLabelId

Object deviceSelectedLabelId

deviceSelectElementId

String deviceSelectElementId

deviceSelectId

String deviceSelectId

deviceSelectLabel

String deviceSelectLabel

deviceSelectLabelId

String deviceSelectLabelId

downloadAndInstall

String downloadAndInstall

elementClassName

Object elementClassName

errorActivitySelect

Object errorActivitySelect

findCancelled

String findCancelled

findDevicesButtonId

String findDevicesButtonId

findDevicesButtonText

String findDevicesButtonText

findDevicesElementId

String findDevicesElementId

foundDevice

String foundDevice

foundDevices

String foundDevices

getGpiWriteDescription

Function getGpiWriteDescription

getWriteData

Function getWriteData

gpsData

String gpsData

hideIfBrowserNotSupported

Boolean hideIfBrowserNotSupported

installNow

String installNow

loadTracksWithoutATimestamp

Boolean loadTracksWithoutATimestamp

lookingForDevices

String lookingForDevices

noDeviceDetectedStatusText

String noDeviceDetectedStatusText

noParseSupportForType

String noParseSupportForType

notOverwritingFile

String notOverwritingFile

overwritingFile

String overwritingFile

pathKeyPairsArray

String[] pathKeyPairsArray

pluginNotUnlocked

String pluginNotUnlocked

pluginUnlocked

String pluginUnlocked

postActivityHandler

Function postActivityHandler

poweredByGarmin

String poweredByGarmin

progressBarDisplayId

String progressBarDisplayId

progressBarId

String progressBarId

readDataButtonId

String readDataButtonId

readDataButtonText

String readDataButtonText

readDataElementId

String readDataElementId

readDataType

String readDataType

readDataTypesSelectId

String readDataTypesSelectId

readGoogleMapId

String readGoogleMapId

readResultsElementClass

String readResultsElementClass

readResultsSelectClass

String readResultsSelectClass

readRoutesElementId

String readRoutesElementId

readRoutesSelectId

String readRoutesSelectId

readRoutesSelectLabel

String readRoutesSelectLabel

readRoutesSelectLabelId

String readRoutesSelectLabelId

readSelectedButtonId

Object readSelectedButtonId

readSelectedButtonText

Object readSelectedButtonText

readTracksElementId

String readTracksElementId

readTracksSelectId

String readTracksSelectId

readTracksSelectLabel

String readTracksSelectLabel

readTracksSelectLabelId

String readTracksSelectLabelId

readWaypointsElementId

String readWaypointsElementId

readWaypointsSelectId

String readWaypointsSelectId

readWaypointsSelectLabel

String readWaypointsSelectLabel

readWaypointsSelectLabelId

String readWaypointsSelectLabelId

showActivityDirectoryElement

Boolean showActivityDirectoryElement

showCancelFindDevicesButton

Boolean showCancelFindDevicesButton

showCancelReadDataButton

Boolean showCancelReadDataButton

showCancelWriteDataButton

Boolean showCancelWriteDataButton

showDeviceButtonsOnFound

Boolean showDeviceButtonsOnFound

showDeviceButtonsOnLoad

BSoolean showDeviceButtonsOnLoad

showDeviceSelectNoDevice

Boolean showDeviceSelectNoDevice

showDeviceSelectOnLoad

Boolean showDeviceSelectOnLoad

showDeviceSelectOnSingle

Boolean showDeviceSelectOnSingle

showFindDevicesButton

Boolean showFindDevicesButton

showFindDevicesElement

Boolean showFindDevicesElement

showProgressBar

Boolean showProgressBar

showReadDataElement

Boolean showReadDataElement

showReadDataElementOnDeviceFound

Boolean showReadDataElementOnDeviceFound

showReadDataTypesSelect

Boolean showReadDataTypesSelect
    Display the dropdown select box for selecting what type of data to read from the device. When <

showReadGoogleMap

Boolean showReadGoogleMap
    Display google map. When <

showReadResultsSelectOnLoad

Boolean showReadResultsSelectOnLoad
    Controls the view of the device select box. When set to true the select device box will show when the display loads. When set to false the select device box will hide when the display loads. When showReadDataElement is set to false, the results select box will never show. default = false

showReadRoutesSelect

Boolean showReadRoutesSelect
    Display the route select dropdown. When <

showReadTracksSelect

Boolean showReadTracksSelect
    Display the track select dropdown. When <

showReadWaypointsSelect

Boolean showReadWaypointsSelect
    Display the waypoint select dropdown. When <

showStatusElement

Boolean showStatusElement
    The choice to display the feedback regarding the communications with the device.

showWriteDataElement

Boolean showWriteDataElement
    Display the user interface associated with writing to a connected device. default = false

showWriteDataElementOnDeviceFound

Boolean showWriteDataElementOnDeviceFound
    Controls the view of the write data element. When set to true the element will only show after a device has been found. When set to false the element will show on page load. Behavior will depend on other settings such as and showWriteDataElement. default= false

singleDeviceDetectedStatusText

Object singleDeviceDetectedStatusText

statusCellProcessingImg

Object statusCellProcessingImg

statusElementId

String statusElementId
    The id of the HTML element where the statusBox is to be rendered.

statusTextId

String statusTextId
    The id of the HTML element where the status text messages are to be displayed.

trackListing

String trackListing
    Track list box item template exposed for internationalization.

trainingData

String trainingData
    Read data selection option exposed for internationalization.

unlockOnPageLoad

Boolean unlockOnPageLoad
    Unlock plugin when user lands on containing page which may result in security or plugin-not-installed messages. Set to false to supress plugin acivity until user initiates an action.

updateActivityStatus

Object updateActivityStatus

uploadDataButtonId

Object uploadDataButtonId

uploadDataButtonText

Object uploadDataButtonText

uploadingActivities

Object uploadingActivities

uploadSelectedActivities

Object uploadSelectedActivities

uploadsFinished

Object uploadsFinished

useLinks

Boolean useLinks
    Display link instead of buttons. Currently this only applies to the 'Find Devices' button.

using

String using
    Status message exposed for internationalization.

writeDataButtonId

String writeDataButtonId
    The id referencing the write data button. This is useful for CSS customizations. default = writeDataButton

writeDataButtonText

String writeDataButtonText
    The text on the write button.

writeDataType

String writeDataType
    Tells the plug-in what data type to write to the device. Options are "gpx" which will use getWriteData to get the data or "gpi" which will use getGpiWriteDescription to get the data to save to the device. default = Garmin.DeviceControl.FILE_TYPES.gpx

writingCancelled

String writingCancelled
    Status message exposed for internationalization.

writingToDevice

String writingToDevice
    Status message exposed for internationalization.

writtenToDevice

String writtenToDevice
    Status message exposed for internationalization.

Constructor Detail

Garmin.DeviceDisplayDefaultOptions

Garmin.DeviceDisplayDefaultOptions()
    The default display options for the generated plug-in elements including booleans for which sub-items to show. Override specific option values by calling setOptions(optionsHash) on your instance of Garmin.DeviceDisplay to customize your display options.

Method Detail

getWriteDataFileName

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. This function should return a String.


Documentation generated by JSDoc on Wed Dec 19 12:32:20 2007