java.lang.Object
org.autogui.swing.GuiSwingViewTabbedPane.PreferencesForTab
- All Implemented Interfaces:
GuiSwingPrefsSupports.Preferences
,GuiSwingPrefsSupports.PreferencesByJsonEntry
- Enclosing class:
GuiSwingViewTabbedPane
public static class GuiSwingViewTabbedPane.PreferencesForTab
extends Object
implements GuiSwingPrefsSupports.PreferencesByJsonEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(JTabbedPane tabbedPane) getKey()
int
void
set
(JTabbedPane tabbedPane) void
void
setSelectedIndex
(int selectedIndex) toJson()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.swing.prefs.GuiSwingPrefsSupports.PreferencesByJsonEntry
loadFrom, loadFromAndToJson, saveTo, setJsonAndSaveTo
-
Field Details
-
selectedIndex
protected int selectedIndex
-
-
Constructor Details
-
PreferencesForTab
public PreferencesForTab()
-
-
Method Details
-
applyTo
-
set
-
getSelectedIndex
public int getSelectedIndex()- Returns:
- the selected tab index
- Since:
- 1.7
-
setSelectedIndex
public void setSelectedIndex(int selectedIndex) - Parameters:
selectedIndex
- updated index- Since:
- 1.7
-
getKey
- Specified by:
getKey
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
toJson
- Specified by:
toJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
setJson
- Specified by:
setJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-