com.extjs.gxt.ui.client.widget.layout
Class FormData

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.layout.LayoutData
      extended by com.extjs.gxt.ui.client.widget.layout.MarginData
          extended by com.extjs.gxt.ui.client.widget.layout.AnchorData
              extended by com.extjs.gxt.ui.client.widget.layout.FormData

public class FormData
extends AnchorData

Layout data form FormLayout.


Constructor Summary
FormData()
          Creates a new form data instance.
FormData(int width, int height)
          Creates a new form data instance.
FormData(java.lang.String anchorSpec)
          Creates a new form data instance.
 
Method Summary
 int getHeight()
          Returns the height.
 int getWidth()
          Returns the width.
 void setHeight(int height)
          Sets the height.
 void setWidth(int width)
          Setst the width.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.layout.AnchorData
getAnchorSpec, setAnchorSpec
 
Methods inherited from class com.extjs.gxt.ui.client.widget.layout.MarginData
getMargins, setMargins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormData

public FormData()
Creates a new form data instance.


FormData

public FormData(int width,
                int height)
Creates a new form data instance.

Parameters:
width - the width
height - the height

FormData

public FormData(java.lang.String anchorSpec)
Creates a new form data instance.

Parameters:
anchorSpec - the anchor spec
Method Detail

getHeight

public int getHeight()
Returns the height.

Returns:
the height

getWidth

public int getWidth()
Returns the width.

Returns:
the width

setHeight

public void setHeight(int height)
Sets the height.

Parameters:
height - the height

setWidth

public void setWidth(int width)
Setst the width.

Parameters:
width - the width