|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--JourneySat.Place
This class represents a place visited in the travel.
Defined in travel.js
| Constructor Summary | |
JourneySat.Place
()
|
|
| Method Summary | |
boolean
|
equals(<JourneySat.Place> place)
Checks two places for equality. |
String
|
getDescription()
Returns the description of the place. |
double
|
getLat()
Returns the latitude of the place |
double
|
getLng()
Returns the longitude of the place |
String
|
getName()
Returns the name of the place |
int
|
getSequence()
Returns the sequence number of the place |
int
|
getZoomLevel()
Returns the zoomLevel of the place |
void
|
setAll(<int> sequence, <String> name, <double> lat, <double> lng, <String> description, <int> zoom)
Sets all the attributes of the place |
void
|
setDescription(<String> description)
Sets the description of the place |
void
|
setLat(lat)
Sets the latitude of the place |
void
|
setLng(lng)
Sets the longitude of the place |
void
|
setName(<String> name)
Sets the name of the place |
void
|
setSequence(<int> sequence)
Sets the sequence number of the place |
void
|
setZoomLevel(<int> zoomLevel)
Sets the zoomLevel of the place |
String
|
toString()
Converts a place to a String |
| Constructor Detail |
JourneySat.Place()
| Method Detail |
boolean equals(<JourneySat.Place> place)
place - The place to compare this one with
String getDescription()
double getLat()
double getLng()
String getName()
int getSequence()
int getZoomLevel()
void setAll(<int> sequence, <String> name, <double> lat, <double> lng, <String> description, <int> zoom)
sequence - The sequence number
name - The name
lat - The latitude
lng - The longitude
description - The description
zoom - The zoom level
void setDescription(<String> description)
description - The description
void setLat(lat)
latitude - The latitude
void setLng(lng)
longitude - The longitude
void setName(<String> name)
name - The name
void setSequence(<int> sequence)
sequence - The sequence number
void setZoomLevel(<int> zoomLevel)
zoomLevel - The zoomLevel
String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||