Class TabbedPaneProperty

java.lang.Object
org.jdesktop.application.session.TabbedPaneProperty
All Implemented Interfaces:
PropertySupport

public class TabbedPaneProperty extends Object implements PropertySupport
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: