java.lang.Object
com.dlsc.gmapsfx.javascript.JavascriptObject
com.dlsc.gmapsfx.javascript.object.Size
public class Size extends JavascriptObject
Size object corresponding to google.maps.Size
Two-dimensonal size, where width is the distance on the x-axis, and height is the distance on the y-axis.
- Author:
- Rob Terpilowski
-
Field Summary
Fields Modifier and Type Field Description protected intheightprotected StringheightUnitprotected intwidthprotected StringwidthUnitFields inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName -
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Size other)intgetHeight()StringgetHeightUnit()intgetWidth()StringgetWidthUnit()StringtoString()Methods inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
-
Field Details
-
width
protected int width -
height
protected int height -
widthUnit
-
heightUnit
-
-
Constructor Details
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getWidthUnit
-
getHeightUnit
-
equals
-
toString
-