Class Terminal

java.lang.Object
net.minheur.potoflux.terminal.Terminal

public class Terminal extends Object
The main tab used to handle the terminal
  • Constructor Details

    • Terminal

      public Terminal(@NotNull @NotNull javafx.scene.layout.StackPane panel)
      Init the terminal
      Parameters:
      panel - the element that will contain the terminal. Should be empty
  • Method Details

    • getOutputArea

      public javafx.scene.control.TextArea getOutputArea()
      Getter for the outputArea
      Returns:
      outputArea
    • fillOutputTextArea

      public void fillOutputTextArea()
      Fills the output area with the content of the terminal, saved in the files
    • getAsciiFileContent

      @Nullable public static @Nullable String getAsciiFileContent(String file)
      Gets the content of an ascii (in the files)
      Parameters:
      file - name of the ASCII file the get
      Returns:
      the content of the ASCII file
    • buildASCII

      public static void buildASCII()
      Write the ASCII (the one set in the user prefs).
      By default, using big