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

public class ModsTab extends BaseVTab<javafx.scene.layout.VBox>
  • Constructor Details

    • ModsTab

      public ModsTab()
  • Method Details

    • 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>
    • getName

      public String getName()
      Description copied from class: BaseTab
      The name of the tab in the list displayed
      Specified by:
      getName in class BaseTab<javafx.scene.layout.VBox>
      Returns:
      the tab's name
    • getTitle

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

      protected void setPanel()
      Description copied from class: BaseTab
      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>
    • doPreset

      protected boolean doPreset()
      Description copied from class: BaseTab
      Handles if the preset should be executed.
      True by default.
      Overrides:
      doPreset in class BaseTab<javafx.scene.layout.VBox>
      Returns:
      if the preset should be executed