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

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.CardLayout
すべての実装インタフェース:
Observable

public class CardLayout
extends FitLayout

This layout contains multiple widgets, each fit to the container, where only a single widget can be visible at any given time. This layout style is most commonly used for wizards, tab implementations, etc.

The CardLayout's focal method is setActiveItem. Since only one panel is displayed at a time, the only way to move from one panel to the next is by calling setActiveItem the next panel to display. The layout itself does not provide a mechanism for handling this navigation, so that functionality must be provided by the developer.


コンストラクタ 概要
CardLayout()
           
 
メソッド 概要
 Component getActiveItem()
          Returns the active component.
 void setActiveItem(Component component)
          Sets the active (visible) item in the layout.
 
クラス 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
 

コンストラクタ 詳細

CardLayout

public CardLayout()
メソッド 詳細

getActiveItem

public Component getActiveItem()
Returns the active component.

戻り値:
the top widget

setActiveItem

public void setActiveItem(Component component)
Sets the active (visible) item in the layout.

パラメータ:
component - the active widget