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

public class SettingsTab extends BaseVTab<javafx.scene.layout.VBox>
The settings tab contains all user changeable vars (prefs)
  • 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 the BaseTab.PANEL.
      Specified by:
      setPanel in class BaseTab<javafx.scene.layout.VBox>
    • instantiate

      protected void instantiate()
      Description copied from class: BaseTab
      You need to instantiate BaseTab.PANEL.
      Specified by:
      instantiate in class BaseTab<javafx.scene.layout.VBox>
    • boxPreset

      protected void boxPreset()
      Description copied from class: BaseVTab
      Preset layout for the BaseVTab.vContent
      Overrides:
      boxPreset in class BaseVTab<javafx.scene.layout.VBox>
    • getTitle

      protected String getTitle()
      Used to set the title.
      Overrides:
      getTitle in class BaseTab<javafx.scene.layout.VBox>
      Returns:
      the title of the tab.
    • getName

      public String getName()
      Tells the name of the tab, same as the title
      Specified by:
      getName in class BaseTab<javafx.scene.layout.VBox>
      Returns:
      getTitle()
    • doPreset

      protected boolean doPreset()
      Disables the preset
      Overrides:
      doPreset in class BaseTab<javafx.scene.layout.VBox>
      Returns:
      false