Class TabContentPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

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.
See Also:
  • Constructor Details

    • 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 Details

    • 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