Class Tabs

java.lang.Object
net.minheur.potoflux.screen.tabs.Tabs

public class Tabs extends Object
Registry of the potoflux tabs
  • Field Details

    • INSTANCE

      public static Tabs INSTANCE
      The instance of this class, used to keep a link to the tab def
    • HOME

      public final Tab HOME
      The item of the home tab (HomeTab).
    • TERMINAL

      public final Tab TERMINAL
      The item of the terminal tab (TerminalTab).
    • SETTINGS

      public final Tab SETTINGS
      The item of the settings tab (SettingsTab).
  • Method Details

    • register

      public static void register(RegisterTabsEvent event)
      Create the instance of the class, then add the tabs to the events.
      This is called on the tab register event.
      Parameters:
      event - the event to register to