Class GeyserStandaloneGUI
java.lang.Object
org.geysermc.geyser.platform.standalone.gui.GeyserStandaloneGUI
-
Constructor Summary
ConstructorsConstructorDescriptionGeyserStandaloneGUI(org.geysermc.geyser.GeyserLogger logger) Create and show the Geyser-Standalone GUI -
Method Summary
Modifier and TypeMethodDescriptionvoidRedirect the default io streams to the text panevoidenableCommands(ScheduledExecutorService executor, org.geysermc.geyser.command.CommandRegistry registry) Enables the command input box.voidStart the thread to update the form information every 1s
-
Constructor Details
-
GeyserStandaloneGUI
public GeyserStandaloneGUI(org.geysermc.geyser.GeyserLogger logger) Create and show the Geyser-Standalone GUI- Parameters:
logger- the logger for determining debug mode, and executing commands from the console
-
-
Method Details
-
addGuiAppender
public void addGuiAppender()Redirect the default io streams to the text pane -
enableCommands
public void enableCommands(ScheduledExecutorService executor, org.geysermc.geyser.command.CommandRegistry registry) Enables the command input box.- Parameters:
executor- the executor that commands will be run onregistry- the command registry containing all current commands
-
startUpdateThread
public void startUpdateThread()Start the thread to update the form information every 1s
-