com.extjs.gxt.ui.client.util
Class Size

java.lang.Object
  extended by 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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public int width
The width.


height

public int height
The height.

Constructor Detail

Size

public Size(int width,
            int height)
Creates a new size instance.

Parameters:
width - the width
height - the height
Method Detail

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