Class SessionStorage.TabbedPaneState
java.lang.Object
org.jdesktop.application.SessionStorage.TabbedPaneState
- Enclosing class:
SessionStorage
This Java Bean record the
selectedIndex and
tabCount properties of a JTabbedPane. A
TabbedPaneState object created by SessionStorage.TabbedPaneProperty.getSessionState(Component) and used to restore the
selected tab by SessionStorage.TabbedPaneProperty.setSessionState(Component, Object).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetSelectedIndex(int selectedIndex) voidsetTabCount(int tabCount)
-
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)
-