Package org.zkoss.zkforge.geolocation
Class GeolocationPosition
- java.lang.Object
-
- org.zkoss.zkforge.geolocation.GeolocationPosition
-
public class GeolocationPosition extends Object
a java representation of GeolocationPosition, https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPosition
-
-
Field Summary
Fields Modifier and Type Field Description protected GeolocationCoordinatescoordsprotected longtimestamp
-
Constructor Summary
Constructors Constructor Description GeolocationPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeolocationCoordinatesgetCoords()longgetTimestamp()voidsetCoords(GeolocationCoordinates coords)voidsetTimestamp(long timestamp)StringtoString()
-
-
-
Field Detail
-
timestamp
protected long timestamp
-
coords
protected GeolocationCoordinates coords
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getCoords
public GeolocationCoordinates getCoords()
-
setCoords
public void setCoords(GeolocationCoordinates coords)
-
-