Package org.jdesktop.application.session
Class TabbedPaneState
- java.lang.Object
-
- org.jdesktop.application.session.TabbedPaneState
-
public class TabbedPaneState extends java.lang.Object
This Java Bean record theselectedIndex
andtabCount
properties of aJTabbedPane
. ATabbedPaneState
object created byTabbedPaneProperty.getSessionState(java.awt.Component)
and used to restore the selected tab byTabbedPaneProperty.setSessionState(java.awt.Component, java.lang.Object)
.
-
-
Constructor Summary
Constructors Constructor Description TabbedPaneState()
TabbedPaneState(int selectedIndex, int tabCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSelectedIndex()
int
getTabCount()
void
setSelectedIndex(int selectedIndex)
void
setTabCount(int tabCount)
-