Class SessionStorage.TabbedPaneState

java.lang.Object
org.jdesktop.application.SessionStorage.TabbedPaneState
Enclosing class:
SessionStorage

public static class SessionStorage.TabbedPaneState extends Object
This Java Bean record the selectedIndex and tabCount properties of a JTabbedPane. A TabbedPaneState object created by SessionStorage.TabbedPaneProperty.getSessionState(java.awt.Component) and used to restore the selected tab by SessionStorage.TabbedPaneProperty.setSessionState(java.awt.Component, java.lang.Object).
See Also:
  • Constructor Details

    • TabbedPaneState

      public TabbedPaneState()
    • TabbedPaneState

      public TabbedPaneState(int selectedIndex, int tabCount)
  • Method Details

    • getSelectedIndex

      public int getSelectedIndex()
    • setSelectedIndex

      public void setSelectedIndex(int selectedIndex)
    • getTabCount

      public int getTabCount()
    • setTabCount

      public void setTabCount(int tabCount)