CAF Shared JavaScript

Class CAF.GMap.MarkerList.Item.Model

Object
   |
   +--CAF.Select.Item.Model
         |
         +--CAF.Table.Row.Model
               |
               +--CAF.List.Item.Model
                     |
                     +--CAF.GMap.MarkerList.Item.Model

class CAF.GMap.MarkerList.Item.Model
extends CAF.List.Item.Model


GMap Marker client-side model. The Marker model is based on the Table/List item model. Note that the value of the Marker model is its server-side id, not its string coordinates. Also note that invoking the set* methods on this model do not immediately affect the modeled marker; the modeled marker will not be updated until the marker model is passed to the marker-list model's set() method.
Defined in gmap.js


Field Summary
 Object classes
          
   
Fields inherited from class CAF.List.Item.Model
classes
   
Fields inherited from class CAF.Table.Row.Model
classes
 
Constructor Summary
CAF.GMap.MarkerList.Item.Model ()
           
 
Method Summary
 Object getCoords()
           Gets this overlay's latitude;longitude coordinate pair in string form.
 Object getIcon()
           Gets this option's icon url.
 Object getLabel()
           Gets this option's label.
 Object getLatitude()
           The latitude of this overlay.
 Object getLongitude()
           The longitude of this overlay.
 Object getOverlay()
           Returns GMarker object for this item if it exists.
 void hideInfoWindow()
           Hides the info window for this marker.
 void initialize(id, label, description, disabled, style, styleClass, icon)
           Initializer.
 Object isDisabled()
           True if option is disabled.
 Object isLoading()
           Returns true if this row is loading.
 Object isSelected()
           True if this option is selected.
 Object isVisible()
           Returns true if this row is visible.
 void setAddress(address, country)
           Sets the marker's location to the specified textual address.
 void setCoords(coords)
           Sets this overlay's latitude;longitude coordinate pair in string form.
 void setDisabled(disabled)
           Sets this option as enabled/disabled.
 void setIcon(icon)
           Sets this option's icon url.
 void setLabel(label)
           Sets this option's label.
 void setLatitude(lat)
           The latitude of this overlay.
 void setLongitude(lng)
           The longitude of this overlay.
 void showInfoWindow()
           Shows the info window for this marker.
 
Methods inherited from class CAF.Table.Row.Model
getControlId, getControlIds, getValues, setValues
   
Methods inherited from class CAF.Select.Item.Model
toString, equals, getValue, setValue, getDescription, setDescription, getStyle, setStyle, getStyleClass, setStyleClass
 

Field Detail

classes

Object classes

Constructor Detail

CAF.GMap.MarkerList.Item.Model

CAF.GMap.MarkerList.Item.Model()

Method Detail

getCoords

Object getCoords()

getIcon

Object getIcon()

getLabel

Object getLabel()

getLatitude

Object getLatitude()

getLongitude

Object getLongitude()

getOverlay

Object getOverlay()

hideInfoWindow

void hideInfoWindow()

initialize

void initialize(id, label, description, disabled, style, styleClass, icon)

isDisabled

Object isDisabled()

isLoading

Object isLoading()

isSelected

Object isSelected()

isVisible

Object isVisible()

setAddress

void setAddress(address, country)

setCoords

void setCoords(coords)

setDisabled

void setDisabled(disabled)

setIcon

void setIcon(icon)

setLabel

void setLabel(label)

setLatitude

void setLatitude(lat)

setLongitude

void setLongitude(lng)

showInfoWindow

void showInfoWindow()

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019