Package org.wicketstuff.gmap.api
Class GSize
- java.lang.Object
-
- 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
Constructors Constructor Description GSize(float width, float height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
float
getHeight()
String
getJSconstructor()
float
getWidth()
int
hashCode()
-
-
-
Method Detail
-
getWidth
public float getWidth()
-
getHeight
public float getHeight()
-
getJSconstructor
public String getJSconstructor()
- Specified by:
getJSconstructor
in interfaceGValue
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
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)
-
-