com.extjs.gxt.ui.client.widget.layout
クラス RowData

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.RowData

public class RowData
extends MarginData

Layout data for RowLayout that controls the width and height of a widget.

The height and width of each component can be specified with a RowData instance. There are 3 types of values:

See Also:
RowLayout

コンストラクタ 概要
RowData()
          Creates a new row data.
RowData(double width, double height)
          Creates a new row data.
RowData(double width, double height, Margins margins)
          Creates a new row data.
 
メソッド 概要
 double getHeight()
          Returns the height.
 double getWidth()
          Returns the width.
 void setHeight(double height)
          Sets the height in pixels (defauls to DEFAULT).
 void setWidth(double width)
          Sets the height in pixels (defaults to DEFAULT).
 
クラス com.extjs.gxt.ui.client.widget.layout.MarginData から継承されたメソッド
getMargins, setMargins
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタ 詳細

RowData

public RowData()
Creates a new row data.


RowData

public RowData(double width,
               double height)
Creates a new row data.

パラメータ:
width - the width, values of 1 or less treated as percentages
height - the height, values of 1 or less treated as percentages

RowData

public RowData(double width,
               double height,
               Margins margins)
Creates a new row data.

パラメータ:
width - the width, values of 1 or less treated as percentages
height - the height, values of 1 or less treated as percentages
margins - the margins
メソッド 詳細

getHeight

public double getHeight()
Returns the height.

戻り値:
the height

getWidth

public double getWidth()
Returns the width.

戻り値:
the width

setHeight

public void setHeight(double height)
Sets the height in pixels (defauls to DEFAULT). The default value indicates that the layout should use the widget's computed height.

パラメータ:
height - the height, values of 1 or less treated as percentages

setWidth

public void setWidth(double width)
Sets the height in pixels (defaults to DEFAULT). The default value indicates that the layout should use the widget's computed width.

パラメータ:
width - the width, values of 1 treated as percentages