Class TerminalTab

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

public class TerminalTab extends BaseTab<javafx.scene.layout.StackPane>
The tab that contains the terminal of potoflux.
  • Constructor Details

    • TerminalTab

      public TerminalTab()
  • Method Details

    • setPanel

      protected void setPanel()
      Add content to the pane.
      Calls addTerminal()
      Specified by:
      setPanel in class BaseTab<javafx.scene.layout.StackPane>
    • instantiate

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

      public String getName()
      Gets the name of the tab, displayed in the tab list
      Specified by:
      getName in class BaseTab<javafx.scene.layout.StackPane>
      Returns:
      the tab's name
    • doPreset

      protected boolean doPreset()
      Disable the preset
      Overrides:
      doPreset in class BaseTab<javafx.scene.layout.StackPane>
      Returns:
      false
    • getTerminal

      public Terminal getTerminal()
      Getter for the terminal
      Returns:
      the terminal