Class SessionStorage.TabbedPaneProperty

java.lang.Object
org.jdesktop.application.SessionStorage.TabbedPaneProperty
All Implemented Interfaces:
SessionStorage.Property
Enclosing class:
SessionStorage

public static class SessionStorage.TabbedPaneProperty extends Object implements SessionStorage.Property
A sessionState property for JTabbedPane.

This class defines how the session state for JTabbedPanes is saved and and restored in terms of a property called sessionState. The JTabbedPane's selectedIndex is saved and restored if the number of tabs (tabCount) hasn't changed.

TabbedPaneProperty is registered for JTabbedPane.class by default, so this class applies to JTabbedPane and any subclass of JTabbedPane. One can override the default with the putProperty method.

See Also: