Class JourneySat.Content

Object
   |
   +--JourneySat.Content

class JourneySat.Content


This class stores the information about a piece of multimedia content (photo, movie, audio). The content will be shown as an icon on the map at a given lat/lng coordinate which should be as close as possible to the coordinates where the content refers to.
Defined in travel.js


Constructor Summary
JourneySat.Content ()
           
 
Method Summary
 boolean equals(<JourneySat.Content> content)
           Checks two contents for equality
 String getCbody()
           Returns the cbody of the content.
 String getDescr()
           Returns the description of the content.
 String getHref()
           Returns the URL of the content
 double getLat()
           Returns the latitude of the content
 double getLng()
           Returns the longitude of the content
 String getType()
           Returns the type of the content
 int getZoomLevel()
           Returns the zoom level for the content
 void setAll(<String> type, <double> lat, <double> lng, <String> href, <String> cbody, <int> zoom)
           Sets all the attributes of the content
 void setCbody(<String> cbody)
           Sets the cbody of the content.
 void setDescr(<String> descr)
           Sets the description of the content.
 void setHref(<String> href)
           Sets the URL of the content
 void setLat(<double> lat)
           Sets the latitude of the content
 void setLng(<double> lng)
           Sets the longitude of the content
 void setType(<String> type)
           Sets the type of the content
 void setZoomLevel(<int> zoom)
           Sets the zoom level for the content
 String toString()
           Converts a content to a String

Constructor Detail

JourneySat.Content

JourneySat.Content()

Method Detail

equals

boolean equals(<JourneySat.Content> content)

getCbody

String getCbody()

getDescr

String getDescr()

getHref

String getHref()

getLat

double getLat()

getLng

double getLng()

getType

String getType()

getZoomLevel

int getZoomLevel()

setAll

void setAll(<String> type, <double> lat, <double> lng, <String> href, <String> cbody, <int> zoom)

setCbody

void setCbody(<String> cbody)

setDescr

void setDescr(<String> descr)

setHref

void setHref(<String> href)

setLat

void setLat(<double> lat)

setLng

void setLng(<double> lng)

setType

void setType(<String> type)

setZoomLevel

void setZoomLevel(<int> zoom)

toString

String toString()


Documentation generated by JSDoc on Thu Oct 20 14:28:29 2005