Top Description Fields Constructors Methods
com.dlsc.gmapsfx.javascript.object

public Class Size

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.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

Modifier and TypeField and Description
protected int
protected String
protected int
protected String
Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
Size(int
distance on x-axis
width
,
int
distance on y-axis
height
)

public
Size(int
distance on x-axis
width
,
int
distance on y-axis
height
,
String widthUnit, String heightUnit)

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Size other)

public int
public String
public int
public String
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Field Detail

heightback to summary
protected int height
heightUnitback to summary
protected String heightUnit
widthback to summary
protected int width
widthUnitback to summary
protected String widthUnit

Constructor Detail

Sizeback to summary
public Size(int width, int height)
Parameters
width:int

distance on x-axis

height:int

distance on y-axis

Sizeback to summary
public Size(int width, int height, String widthUnit, String heightUnit)
Parameters
width:int

distance on x-axis

height:int

distance on y-axis

Method Detail

equalsback to summary
public boolean equals(Size other)
getHeightback to summary
public int getHeight()
getHeightUnitback to summary
public String getHeightUnit()
getWidthback to summary
public int getWidth()
getWidthUnitback to summary
public String getWidthUnit()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override