wicket.contrib.gmap.api
Class GPoint

java.lang.Object
  extended by wicket.contrib.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
GPoint(float longitude, float latitude)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getJSconstructor()
           
 float getLatitude()
           
 float getLongitude()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPoint

public GPoint(float longitude,
              float latitude)
Method Detail

getLongitude

public float getLongitude()

getLatitude

public float getLatitude()

getJSconstructor

public String getJSconstructor()
Specified by:
getJSconstructor in interface GValue
Returns:
A JavaScript constructor that represents this element.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.