Class ModsTab
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.ModsTab
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoPreset()Handles if the preset should be executed.
True by default.getName()The name of the tab in the list displayedprotected 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
-
ModsTab
public ModsTab()
-
-
Method Details
-
instantiate
protected void instantiate()Description copied from class:BaseTabYou need to instantiateBaseTab.PANEL.- Specified by:
instantiatein classBaseTab<javafx.scene.layout.VBox>
-
getName
Description copied from class:BaseTabThe name of the tab in the list displayed -
getTitle
Description copied from class:BaseTabUsed to set the title. -
setPanel
protected void setPanel()Description copied from class:BaseTabThis is the actual method to set the panel.
The overriding class will have to use this to add content to theBaseTab.PANEL. -
doPreset
protected boolean doPreset()Description copied from class:BaseTabHandles if the preset should be executed.
True by default.
-