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

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.Layout
          extended by com.extjs.gxt.ui.client.widget.layout.FlowLayout
すべての実装インタフェース:
Observable

public class FlowLayout
extends Layout

Layout that simply renders each child component into its container. The size and position of children are not altered by this layout.

Margins can be applied directly to child components to control the spacing between components.


コンストラクタ 概要
FlowLayout()
          Creates a new layout instance.
FlowLayout(boolean removePostioning)
          Creates a new flow layout.
FlowLayout(int margin)
          Creates a new layout instance with the given margin.
 
メソッド 概要
 Margins getMargins()
          Returns the margins of the layout.
 boolean getRemovePositioning()
          Returns true if positioning is being removed.
 void setMargin(int margin)
          Sets the margins using the give margin.
 void setMargins(Margins margins)
          Sets the margins of the layout to be applied to the container.
 void setRemovePositioning(boolean removePositioning)
          True to remove positioning from the container's children (defaults to false).
 
クラス com.extjs.gxt.ui.client.widget.Layout から継承されたメソッド
getExtraStyle, getResizeDelay, isRenderHidden, layout, setContainer, setExtraStyle, setRenderHidden, setResizeDelay
 
クラス com.extjs.gxt.ui.client.event.BaseObservable から継承されたメソッド
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタ 詳細

FlowLayout

public FlowLayout()
Creates a new layout instance.


FlowLayout

public FlowLayout(boolean removePostioning)
Creates a new flow layout.

パラメータ:
removePostioning - true to remove positioning on child components

FlowLayout

public FlowLayout(int margin)
Creates a new layout instance with the given margin.

パラメータ:
margin - the margin
メソッド 詳細

getMargins

public Margins getMargins()
Returns the margins of the layout.

戻り値:
the margins

getRemovePositioning

public boolean getRemovePositioning()
Returns true if positioning is being removed.

戻り値:
the remove positioning state

setMargin

public void setMargin(int margin)
Sets the margins using the give margin.

パラメータ:
margin - the margin

setMargins

public void setMargins(Margins margins)
Sets the margins of the layout to be applied to the container.

パラメータ:
margins - the margins in pixels

setRemovePositioning

public void setRemovePositioning(boolean removePositioning)
True to remove positioning from the container's children (defaults to false).

パラメータ:
removePositioning - true to remove positioning