|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.Size
public class Size
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
Size()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static Size |
create(double width,
double height)
Two-dimensonal size, where width is the distance on the x-axis, and height is the distance on the y-axis. |
static Size |
create(double width,
double height,
java.lang.String widthUnit)
Two-dimensonal size, where width is the distance on the x-axis, and height is the distance on the y-axis. |
static Size |
create(double width,
double height,
java.lang.String widthUnit,
java.lang.String heightUnit)
Two-dimensonal size, where width is the distance on the x-axis, and height is the distance on the y-axis. |
boolean |
equals(Size other)
Compares two Sizes. |
double |
getHeight()
The height along the y-axis, in pixels. |
double |
getWidth()
The width along the x-axis, in pixels. |
void |
setHeight(double height)
The height along the y-axis, in pixels. |
void |
setWidth(double width)
The width along the x-axis, in pixels. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Size()
Method Detail |
---|
public static Size create(double width, double height, java.lang.String widthUnit, java.lang.String heightUnit)
public static Size create(double width, double height, java.lang.String widthUnit)
public static Size create(double width, double height)
public final boolean equals(Size other)
public final double getHeight()
public final double getWidth()
public final void setHeight(double height)
public final void setWidth(double width)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |