Package net.minheur.potoflux.terminal
Class Terminal
java.lang.Object
net.minheur.potoflux.terminal.Terminal
The main tab used to handle the terminal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidWrite the ASCII (the one set in the user prefs).
By default, usingbigvoidFills the output area with the content of the terminal, saved in the filesstatic StringgetAsciiFileContent(String file) Gets the content of an ascii (in the files)Getter for theoutputArea
-
Constructor Details
-
Terminal
Init the terminal- Parameters:
panel- the element that will contain the terminal. Should be empty
-
-
Method Details
-
getOutputArea
Getter for theoutputArea- Returns:
outputArea
-
fillOutputTextArea
public void fillOutputTextArea()Fills the output area with the content of the terminal, saved in the files -
getAsciiFileContent
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, usingbig
-