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

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.FitLayout
              extended by com.extjs.gxt.ui.client.widget.layout.AccordionLayout
すべての実装インターフェース:
Observable

public class AccordionLayout
extends FitLayout

This is a layout that contains multiple content panels in an expandable accordion style such that only one panel can be open at any given time.

Note: All children added to the container must be ContentPanel instances.


コンストラクタ 概要
AccordionLayout()
           
 
メソッド 概要
 boolean getActiveOnTop()
          Returns true if the active item if first.
 boolean getAutoWidth()
          Returns true if auto width is enabled.
 boolean getFill()
          Returns true if fill is enabled.
 boolean getHideCollapseTool()
          Returns true if the collapse tool is hidden.
 boolean getTitleCollapse()
          Returns true if title collapse is enabled.
 void setActiveItem(Component item)
          Sets the active item.
 void setActiveOnTop(boolean activeOnTop)
          True to swap the position of each panel as it is expanded so that it becomes the first item in the container, false to keep the panels in the rendered order.
 void setAutoWidth(boolean autoWidth)
          True to set each contained item's width to 'auto', false to use the item's current width (defaults to false).
 void setFill(boolean fill)
          True to adjust the active item's height to fill the available space in the container, false to use the item's current height (defaults to true).
 void setHideCollapseTool(boolean hideCollapseTool)
          True to hide the contained panels' collapse/expand toggle buttons, false to display them (defaults to false).
 void setTitleCollapse(boolean titleCollapse)
          True to allow expand/collapse of each contained panel by clicking anywhere on the title bar, false to allow expand/collapse only when the toggle tool button is clicked (defaults to true).
 
クラス 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
 

コンストラクタ 詳細

AccordionLayout

public AccordionLayout()
メソッド 詳細

getActiveOnTop

public boolean getActiveOnTop()
Returns true if the active item if first.

戻り値:
the active on top state

getAutoWidth

public boolean getAutoWidth()
Returns true if auto width is enabled.

戻り値:
the auto width state

getFill

public boolean getFill()
Returns true if fill is enabled.

戻り値:
the fill state

getHideCollapseTool

public boolean getHideCollapseTool()
Returns true if the collapse tool is hidden.

戻り値:
the hide collapse tool state

getTitleCollapse

public boolean getTitleCollapse()
Returns true if title collapse is enabled.

戻り値:
the title collapse state

setActiveItem

public void setActiveItem(Component item)
Sets the active item.

パラメータ:
item - the active item

setActiveOnTop

public void setActiveOnTop(boolean activeOnTop)
True to swap the position of each panel as it is expanded so that it becomes the first item in the container, false to keep the panels in the rendered order. (defaults to false).

パラメータ:
activeOnTop - true to keep the active item on top

setAutoWidth

public void setAutoWidth(boolean autoWidth)
True to set each contained item's width to 'auto', false to use the item's current width (defaults to false).

パラメータ:
autoWidth - true for auto width

setFill

public void setFill(boolean fill)
True to adjust the active item's height to fill the available space in the container, false to use the item's current height (defaults to true).

パラメータ:
fill - true to fill

setHideCollapseTool

public void setHideCollapseTool(boolean hideCollapseTool)
True to hide the contained panels' collapse/expand toggle buttons, false to display them (defaults to false). When set to true, titleCollapse should be true also.

パラメータ:
hideCollapseTool - true to hide

setTitleCollapse

public void setTitleCollapse(boolean titleCollapse)
True to allow expand/collapse of each contained panel by clicking anywhere on the title bar, false to allow expand/collapse only when the toggle tool button is clicked (defaults to true). When set to false, hideCollapseTool should be false also.

パラメータ:
titleCollapse - true for title collapse