Class SettingsTab
java.lang.Object
net.minheur.potoflux.screen.tabs.BaseTab<T>
net.minheur.potoflux.screen.tabs.BaseVTab<javafx.scene.layout.VBox>
net.minheur.potoflux.screen.tabs.all.SettingsTab
The settings tab contains all user changeable vars (prefs)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPreset layout for theBaseVTab.vContentprotected booleandoPreset()Disables the presetgetName()Tells the name of the tab, same as the titleprotected StringgetTitle()Used to set the title.protected voidYou need to instantiateBaseTab.PANEL.protected voidsetPanel()This is the actual method to set the panel.
The overriding class will have to use this to add content to theBaseTab.PANEL.Methods inherited from class net.minheur.potoflux.screen.tabs.BaseTab
getBuiltTab, getIcon, mkTitle
-
Constructor Details
-
SettingsTab
public SettingsTab()
-
-
Method Details
-
setPanel
protected void setPanel()This is the actual method to set the panel.
The overriding class will have to use this to add content to theBaseTab.PANEL. -
instantiate
protected void instantiate()Description copied from class:BaseTabYou need to instantiateBaseTab.PANEL.- Specified by:
instantiatein classBaseTab<javafx.scene.layout.VBox>
-
boxPreset
protected void boxPreset()Description copied from class:BaseVTabPreset layout for theBaseVTab.vContent -
getTitle
Used to set the title. -
getName
Tells the name of the tab, same as the title- Specified by:
getNamein classBaseTab<javafx.scene.layout.VBox>- Returns:
getTitle()
-
doPreset
protected boolean doPreset()Disables the preset
-