com.extjs.gxt.ui.client.widget
クラス HorizontalPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.extjs.gxt.ui.client.widget.Component
              extended by com.extjs.gxt.ui.client.widget.BoxComponent
                  extended by com.extjs.gxt.ui.client.widget.Container<T>
                      extended by com.extjs.gxt.ui.client.widget.ScrollContainer<Component>
                          extended by com.extjs.gxt.ui.client.widget.LayoutContainer
                              extended by com.extjs.gxt.ui.client.widget.HorizontalPanel
すべての実装インターフェース:
Observable, com.google.gwt.user.client.EventListener

public class HorizontalPanel
extends LayoutContainer

A LayoutContainer that lays out its children in a single row using a TableRowLayout. Each child widget can control its cell's properties using an associated TableData instance.


 HoriztonalPanel hp = new HorizontalPanel();
 
 hp.add(new Label("Aligned Center"));
 hp.add(new Label("Aligned Right"), new TableData("right", "middle");
 


入れ子クラス 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields)
DEBUG_ID_PREFIX
 
コンストラクタ 概要
HorizontalPanel()
           
 
メソッド 概要
 Style.HorizontalAlignment getHorizontalAlign()
           
 java.lang.String getTableHeight()
          Returns the table's height.
 java.lang.String getTableWidth()
           
 Style.VerticalAlignment getVerticalAlign()
          Returns the panel's vertical alignment.
 void setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
          The horizontal cell alignment (defaults to LEFT).
 void setSpacing(int spacing)
          Sets the panel's spacing.
 void setTableHeight(java.lang.String tableHeight)
          Sets the table's height.
 void setTableWidth(java.lang.String tableWidth)
          Sets the width of the internal table.
 void setVerticalAlign(Style.VerticalAlignment verticalAlign)
          Sets the panel' vertical alignment.
 
クラス com.extjs.gxt.ui.client.widget.LayoutContainer から継承されたメソッド
add, add, addText, findComponent, getLayout, getLayoutOnChange, getLayoutTarget, insert, insert, isMonitorResize, isMonitorWindowResize, layout, remove, removeAll, setLayout, setLayoutData, setLayoutOnChange, setMonitorWindowResize
 
クラス com.extjs.gxt.ui.client.widget.ScrollContainer から継承されたメソッド
addScrollListener, getHScrollPosition, getScrollMode, getVScrollPosition, onComponentEvent, removeScrollListener, scrollIntoView, setHScrollPosition, setScrollMode, setVScrollPosition
 
クラス com.extjs.gxt.ui.client.widget.Container から継承されたメソッド
findItem, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, iterator, scrollIntoView
 
クラス com.extjs.gxt.ui.client.widget.BoxComponent から継承されたメソッド
getBounds, getHeight, getHeight, getPosition, getShadow, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShim, setSize, setSize, setWidth, setWidth
 
クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setId, setIntStyleAttribute, setItemId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, show, toString
 
クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド
getParent, isAttached
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタ 詳細

HorizontalPanel

public HorizontalPanel()
メソッド 詳細

getHorizontalAlign

public Style.HorizontalAlignment getHorizontalAlign()
戻り値:
the horizontalAlign

getTableHeight

public java.lang.String getTableHeight()
Returns the table's height.

戻り値:
the table height

getTableWidth

public java.lang.String getTableWidth()
戻り値:
the tableWidth

getVerticalAlign

public Style.VerticalAlignment getVerticalAlign()
Returns the panel's vertical alignment.

戻り値:
the vertical aignment

setHorizontalAlign

public void setHorizontalAlign(Style.HorizontalAlignment horizontalAlign)
The horizontal cell alignment (defaults to LEFT).

パラメータ:
horizontalAlign - horizontal alignment

setSpacing

public void setSpacing(int spacing)
Sets the panel's spacing.

パラメータ:
spacing - the spacing

setTableHeight

public void setTableHeight(java.lang.String tableHeight)
Sets the table's height.

パラメータ:
tableHeight - the table height

setTableWidth

public void setTableWidth(java.lang.String tableWidth)
Sets the width of the internal table.

パラメータ:
tableWidth - the table width

setVerticalAlign

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

パラメータ:
verticalAlign - the vertical alignment