net.infonode.tabbedpanel

Class TabContentPanel

public class TabContentPanel extends JPanel

A TabContentPanel is a container for tabs' content components. It listens to a tabbed panel and manages the tabs' content components by showing and hiding the components based upon the selection of tabs in the tabbed panel.

Version: $Revision: 1.19 $

Author: $Author: jesper $

See Also: TabbedPanel Tab

Constructor Summary
TabContentPanel()

Constructs a TabContentPanel

Note: setTabbedPanel(...) must be called before the tabs' content components can be shown on the screen.

TabContentPanel(TabbedPanel tabbedPanel)
Constructs a TabContentPanel
Method Summary
TabbedPanelgetTabbedPanel()
Gets the TabbedPanel for whom this component is the tabs' content component container
voidsetTabbedPanel(TabbedPanel tabbedPanel)
Sets the TabbedPanel

Constructor Detail

TabContentPanel

public TabContentPanel()

Constructs a TabContentPanel

Note: setTabbedPanel(...) must be called before the tabs' content components can be shown on the screen.

Since: ITP 1.4.0

TabContentPanel

public TabContentPanel(TabbedPanel tabbedPanel)
Constructs a TabContentPanel

Parameters: tabbedPanel the TabbedPanel for whom this component is the tabs' content component container

Method Detail

getTabbedPanel

public TabbedPanel getTabbedPanel()
Gets the TabbedPanel for whom this component is the tabs' content component container

Returns: the TabbedPanel

setTabbedPanel

public void setTabbedPanel(TabbedPanel tabbedPanel)
Sets the TabbedPanel

Parameters: tabbedPanel the TabbedPanel for whom this component is the tabs' content component container

Since: ITP 1.4.0