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 TypeMethodDescriptionvoidapplyTo(JTabbedPane tabbedPane) getKey()intvoidset(JTabbedPane tabbedPane) voidvoidsetSelectedIndex(int selectedIndex) toJson()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.autogui.swing.prefs.GuiSwingPrefsSupports.Preferences
loadFromMethods inherited from interface org.autogui.swing.prefs.GuiSwingPrefsSupports.PreferencesByJsonEntry
compareChanged, loadFromAndChanged, 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:
getKeyin interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
toJson
- Specified by:
toJsonin interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
setJson
- Specified by:
setJsonin interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-