com.gwtext.client.core
Class Size

java.lang.Object
  extended by com.gwtext.client.core.Size

public class Size
extends java.lang.Object

This class represents the size of an element.

See Also:
ExtElement.getSize()

Constructor Summary
Size()
           
Size(int width, int height)
          Create a new instance.
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Size

public Size()

Size

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

Parameters:
width - element width
height - element height
Method Detail

getHeight

public int getHeight()
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height

getWidth

public int getWidth()
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width