|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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()
| Method Detail |
boolean equals(<JourneySat.Content> content)
content - The content to compare this one with
String getCbody()
String getDescr()
String getHref()
double getLat()
double getLng()
String getType()
int getZoomLevel()
void setAll(<String> type, <double> lat, <double> lng, <String> href, <String> cbody, <int> zoom)
type - The type
lat - The latitude
lng - The longitude
href - The URL
cbody - The cbody (the description in releases < 1.1.0)
zoom - The zoom level
void setCbody(<String> cbody)
cbody - The cbody
void setDescr(<String> descr)
descr - The description
void setHref(<String> href)
href - The URL
void setLat(<double> lat)
lat - The latitude
void setLng(<double> lng)
lng - The longitude
void setType(<String> type)
type - The type
void setZoomLevel(<int> zoom)
zoom - The zoom level
String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||