Class TabPanel


public class TabPanel extends Panel
Tabbed Panel
Author:
pquiring
  • Constructor Details

    • TabPanel

      public TabPanel()
  • Method Details

    • setBorders

      public void setBorders(boolean state)
      Creates borders on added tabs.
    • addTab

      public void addTab(Panel panel, String text)
    • setTabsVisible

      public void setTabsVisible(boolean state)
      Shows or hides the tabs so only the panels are visible. If the tabs are not visible the user can not change tabs.
    • init

      public void init()
      Description copied from class: Component
      Perform any initialization with the client. Containers should call init() on all sub-components.
      Overrides:
      init in class Panel
    • onLoaded

      public void onLoaded(String[] args)
      Overrides:
      onLoaded in class Panel
    • setTabIndex

      public void setTabIndex(int idx)
    • getTabIndex

      public int getTabIndex()
    • getTabsCount

      public int getTabsCount()
    • removeTab

      public void removeTab(int idx)