Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.core
Class Size

    java.lang.Object
      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
`float` | `getHeight()`
`float` | `getWidth()`
`void` | `setHeight(float height)`
`void` | `setWidth(float 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 float getHeight()

  Returns:
    the height

### setHeight

    public void setHeight(float height)

  Parameters:
    `height` - the height

### getWidth

    public float getWidth()

  Returns:
    the width

### setWidth

    public void setWidth(float width)

  Parameters:
    `width` - the width

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD