|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.application.session.TabbedPaneState
public class TabbedPaneState
This Java Bean record the selectedIndex
and tabCount
properties of a JTabbedPane
. A TabbedPaneState
object created by TabbedPaneProperty.getSessionState(java.awt.Component)
and used to restore the
selected tab by TabbedPaneProperty.setSessionState(java.awt.Component, java.lang.Object)
.
TabbedPaneProperty
,
SessionStorage.save(java.awt.Component, java.lang.String)
,
SessionStorage.restore(java.awt.Component, java.lang.String)
Constructor Summary | |
---|---|
TabbedPaneState()
|
|
TabbedPaneState(int selectedIndex,
int tabCount)
|
Method Summary | |
---|---|
int |
getSelectedIndex()
|
int |
getTabCount()
|
void |
setSelectedIndex(int selectedIndex)
|
void |
setTabCount(int tabCount)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabbedPaneState()
public TabbedPaneState(int selectedIndex, int tabCount)
Method Detail |
---|
public int getSelectedIndex()
public void setSelectedIndex(int selectedIndex)
public int getTabCount()
public void setTabCount(int tabCount)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |