org.wicketstuff.openlayers.api
Class Bounds

java.lang.Object
  extended by org.wicketstuff.openlayers.api.Bounds
All Implemented Interfaces:
Serializable, Value

public class Bounds
extends Object
implements Value

See Also:
Serialized Form

Constructor Summary
Bounds(LonLat sw, LonLat ne)
          Construct.
 
Method Summary
 boolean equals(Object obj)
           
 String getJSconstructor()
           
 LonLat getNE()
           
 LonLat getSW()
           
 int hashCode()
           
static Bounds parse(String value)
          ((37.34068368469045, -122.48519897460936), (37.72184917678752, -121.79855346679686))
static Bounds parseWithNames(String value)
          left-bottom=(37.34068368469045, -122.48519897460936) right-top=(37.72184917678752, -121.79855346679686)
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bounds

public Bounds(LonLat sw,
              LonLat ne)
Construct.

Parameters:
sw -
ne -
Method Detail

getSW

public LonLat getSW()

getNE

public LonLat getNE()

toString

public String toString()
Overrides:
toString in class Object

getJSconstructor

public 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 Object

equals

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

parse

public static Bounds parse(String value)
((37.34068368469045, -122.48519897460936), (37.72184917678752, -121.79855346679686))


parseWithNames

public static Bounds parseWithNames(String value)
left-bottom=(37.34068368469045, -122.48519897460936) right-top=(37.72184917678752, -121.79855346679686)



Copyright © 2008-2012. All Rights Reserved.