com.sencha.gxt.core.client.util
Class Size
java.lang.Object
com.sencha.gxt.core.client.util.Size
public class Size
- extends java.lang.Object
Instances of this class represent a rectangle's size.
|
Constructor Summary |
Size(int width,
int height)
Creates a new size instance. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Size
public Size(int width,
int height)
- Creates a new size instance.
- Parameters:
width - the widthheight - the height
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
Copyright © 2012. All Rights Reserved.