Package org.wicketstuff.gmap.api
Class GPoint
- java.lang.Object
-
- org.wicketstuff.gmap.api.GPoint
-
- All Implemented Interfaces:
Serializable
,GValue
public class GPoint extends Object implements GValue
Represents an Maps API's GPoint that contains x and y coordinates.- Author:
- Iulian-Corneliu Costan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GPoint(float longitude, float latitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getJSconstructor()
float
getLatitude()
float
getLongitude()
int
hashCode()
-
-
-
Method Detail
-
getLongitude
public float getLongitude()
-
getLatitude
public float getLatitude()
-
getJSconstructor
public String getJSconstructor()
- Specified by:
getJSconstructor
in interfaceGValue
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
wicket.contrib.gmap.api.GValue#getJSconstructor()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
-