Class PositionImpl
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- com.google.gwt.geolocation.client.PositionImpl
-
- All Implemented Interfaces:
Position
final class PositionImpl extends JavaScriptObject implements Position
RealJavaScriptObjectimplementation of thePosition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classPositionImpl.CoordinatesImpl-
Nested classes/interfaces inherited from interface com.google.gwt.geolocation.client.Position
Position.Coordinates
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPositionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Position.CoordinatesgetCoordinates()Returns information about the coordinates reported by the browser.doublegetTimestamp()Returns the time this position was reported by the browser.-
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
-
-
-
Method Detail
-
getCoordinates
public final Position.Coordinates getCoordinates()
Description copied from interface:PositionReturns information about the coordinates reported by the browser.- Specified by:
getCoordinatesin interfacePosition
-
getTimestamp
public final double getTimestamp()
Description copied from interface:PositionReturns the time this position was reported by the browser.- Specified by:
getTimestampin interfacePosition
-
-