org.wicketstuff.gmap.api
Class GSize

java.lang.Object
  extended by org.wicketstuff.gmap.api.GSize
All Implemented Interfaces:
Serializable, GValue

public class GSize
extends Object
implements GValue

Represents an Maps API's GSize that contains width and height.

Author:
Robert Jacolin, Vincent Demay, Gregory Maes - Anyware Technologies
See Also:
Serialized Form

Constructor Summary
GSize(float width, float height)
           
 
Method Summary
 boolean equals(Object obj)
           
 float getHeight()
           
 String getJSconstructor()
           
 float getWidth()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSize

public GSize(float width,
             float height)
Method Detail

getWidth

public float getWidth()

getHeight

public float getHeight()

getJSconstructor

public String getJSconstructor()
Specified by:
getJSconstructor in interface GValue
Returns:
A JavaScript constructor that represents this element.
See Also:
wicket.contrib.gmap.api.GValue#getJSconstructor()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2014. All Rights Reserved.