com.extjs.gxt.ui.client.util
Class Size
java.lang.Object
com.extjs.gxt.ui.client.util.Size
public class Size
- extends java.lang.Object
Instances of this class represent a rectangle's size.
|
Field Summary |
int |
height
The height. |
int |
width
The width. |
|
Constructor Summary |
Size(int width,
int height)
Creates a new size instance. |
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
width
public int width
- The width.
height
public int height
- The height.
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
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object