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

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.layout.LayoutData
      extended by com.extjs.gxt.ui.client.widget.layout.TableData

public class TableData
extends LayoutData

Layout data for TableLayout.


コンストラクタ 概要
TableData()
          Creates a new table data instance.
TableData(java.lang.String width, java.lang.String height)
          Creates a new table data instance.
TableData(Style.HorizontalAlignment horizontalAlign, Style.VerticalAlignment verticalAlign)
          Creates a new table data instance.
 
メソッド 概要
 int getColspan()
          Returns the column span.
 java.lang.String getHeight()
          Returns the cell's height.
 Style.HorizontalAlignment getHorizontalAlign()
           
 int getMargin()
          Returns the cell's margin.
 int getPadding()
          Returns the cell's padding.
 java.lang.String getStyle()
          Returns the cell style.
 java.lang.String getStyleName()
          Returns the cell's style.
 Style.VerticalAlignment getVerticalAlign()
          Returns the cell's vertical alignment (defaults to TOP).
 java.lang.String getWidth()
          Returns the cell's width.
 void setColspan(int colspan)
          Sets the number of columns to span (defaults to 1).
 void setHeight(java.lang.String height)
          Sets the cell's height.
 void setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
          Sets the cell's horizontal alignment (defaults to LEFT).
 void setMargin(int margin)
          Sets the cell's margins.
 void setPadding(int padding)
          Sets the cell's padding (default to 0).
 void setStyle(java.lang.String style)
          Custom CSS styles to be applied to the table cell in the format expected by El.applyStyles(java.lang.String).
 void setStyleName(java.lang.String style)
          Sets the CSS style name applied to the component's cell.
 void setVerticalAlign(Style.VerticalAlignment verticalAlign)
          Sets the cell's vertical alignment.
 void setWidth(java.lang.String width)
          Specifies the cell's width.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタ 詳細

TableData

public TableData()
Creates a new table data instance.


TableData

public TableData(Style.HorizontalAlignment horizontalAlign,
                 Style.VerticalAlignment verticalAlign)
Creates a new table data instance.

パラメータ:
horizontalAlign - the horiztonal alignment
verticalAlign - the vertical aligment

TableData

public TableData(java.lang.String width,
                 java.lang.String height)
Creates a new table data instance.

パラメータ:
width - the cell width
height - the cell height
メソッド 詳細

getColspan

public int getColspan()
Returns the column span.

戻り値:
the column span

getHeight

public java.lang.String getHeight()
Returns the cell's height.

戻り値:
the cell height

getHorizontalAlign

public Style.HorizontalAlignment getHorizontalAlign()

getMargin

public int getMargin()
Returns the cell's margin.

戻り値:
the margin

getPadding

public int getPadding()
Returns the cell's padding.

戻り値:
the padding

getStyle

public java.lang.String getStyle()
Returns the cell style.

戻り値:
the style

getStyleName

public java.lang.String getStyleName()
Returns the cell's style.

戻り値:
the style

getVerticalAlign

public Style.VerticalAlignment getVerticalAlign()
Returns the cell's vertical alignment (defaults to TOP).

戻り値:
the vertical alignment

getWidth

public java.lang.String getWidth()
Returns the cell's width.

戻り値:
the cell width

setColspan

public void setColspan(int colspan)
Sets the number of columns to span (defaults to 1).

パラメータ:
colspan - the column span

setHeight

public void setHeight(java.lang.String height)
Sets the cell's height.

パラメータ:
height - the cell height

setHorizontalAlign

public void setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
Sets the cell's horizontal alignment (defaults to LEFT).

パラメータ:
horizontalAlign - the horizontal alignment

setMargin

public void setMargin(int margin)
Sets the cell's margins.

パラメータ:
margin - the margin

setPadding

public void setPadding(int padding)
Sets the cell's padding (default to 0).

パラメータ:
padding - the padding

setStyle

public void setStyle(java.lang.String style)
Custom CSS styles to be applied to the table cell in the format expected by El.applyStyles(java.lang.String).

パラメータ:
style - the styles

setStyleName

public void setStyleName(java.lang.String style)
Sets the CSS style name applied to the component's cell.

パラメータ:
style - the style name

setVerticalAlign

public void setVerticalAlign(Style.VerticalAlignment verticalAlign)
Sets the cell's vertical alignment.

パラメータ:
verticalAlign - the vertical alignment

setWidth

public void setWidth(java.lang.String width)
Specifies the cell's width.

パラメータ:
width - the cell width