Package org.jdesktop.application
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(java.awt.Component)
and used to restore the
selected tab by SessionStorage.TabbedPaneProperty.setSessionState(java.awt.Component, java.lang.Object)
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setSelectedIndex
(int selectedIndex) void
setTabCount
(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)
-