org.wicketstuff.openlayers.api
Class Bounds
java.lang.Object
org.wicketstuff.openlayers.api.Bounds
- All Implemented Interfaces:
- java.io.Serializable, Value
public class Bounds
- extends java.lang.Object
- implements Value
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Bounds
public Bounds(LonLat sw,
LonLat ne)
- Construct.
- Parameters:
sw - ne -
getSW
public LonLat getSW()
getNE
public LonLat getNE()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getJSconstructor
public java.lang.String getJSconstructor()
- Specified by:
getJSconstructor in interface Value
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
Value.contrib.gmap.api.GValue#getJSconstructor()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
parse
public static Bounds parse(java.lang.String value)
- ((37.34068368469045, -122.48519897460936), (37.72184917678752,
-121.79855346679686))
parseWithNames
public static Bounds parseWithNames(java.lang.String value)
- left-bottom=(37.34068368469045, -122.48519897460936)
right-top=(37.72184917678752, -121.79855346679686)
Copyright © 2008-2010. All Rights Reserved.