Class HomeTab

java.lang.Object
net.minheur.potoflux.screen.tabs.BaseTab<T>
net.minheur.potoflux.screen.tabs.BaseVTab<javafx.scene.layout.StackPane>
net.minheur.potoflux.screen.tabs.all.HomeTab

public class HomeTab extends BaseVTab<javafx.scene.layout.StackPane>
Tab class for the home tab
  • Constructor Details

    • HomeTab

      public HomeTab()
  • Method Details

    • setPanel

      protected void setPanel()
      Makes the UI
      Specified by:
      setPanel in class BaseTab<javafx.scene.layout.StackPane>
    • instantiate

      protected void instantiate()
      Instancies the main panel
      Specified by:
      instantiate in class BaseTab<javafx.scene.layout.StackPane>
    • getTitle

      protected String getTitle()
      Gets the title of the tab, displayed in BaseTab.mkTitle()
      Overrides:
      getTitle in class BaseTab<javafx.scene.layout.StackPane>
      Returns:
    • getName

      public String getName()
      Used to set the title.
      Specified by:
      getName in class BaseTab<javafx.scene.layout.StackPane>
      Returns:
      the title of the tab.