com.gwtext.client.core
Class Box

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.core.Box

public class Box
extends JsObject

This class represents an Element's Box.

See Also:
BaseElement.setBox(Box), BaseElement.setBox(Box, boolean, boolean), BaseElement.setBox(Box, boolean, AnimationConfig)

Field Summary
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
Box(int x, int y, int width, int height)
          Constructor
 
Method Summary
 int getHeight()
          Get the box height.
 int getWidth()
          Get the box width.
 int getX()
          Get the x position value.
 int getY()
          Get the y position value.
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box

public Box(int x,
           int y,
           int width,
           int height)
Constructor

Parameters:
x - x-position
y - y-position
width - the box width
height - the box height
Method Detail

getX

public int getX()
Get the x position value.

Returns:
the x value

getY

public int getY()
Get the y position value.

Returns:
the y position

getWidth

public int getWidth()
Get the box width.

Returns:
the box width

getHeight

public int getHeight()
Get the box height.

Returns:
the box height