Class Console
java.lang.Object
org.openpdf.rups.view.Console
- All Implemented Interfaces:
Observer
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConsoleConsole is a Singleton class: you can only get one Console.Get the custom PrintStream of the console.Get the JTextArea to which everything is written.static voidAllows you to print something to the custom PrintStream.voidupdate(Observable observable, Object obj)
-
Method Details
-
getInstance
Console is a Singleton class: you can only get one Console.- Returns:
- the Console
-
println
Allows you to print something to the custom PrintStream.- Parameters:
s- the message you want to send to the Console
-
update
-
getPrintStream
Get the custom PrintStream of the console.- Returns:
- the PrintStream
-
getTextArea
Get the JTextArea to which everything is written.- Returns:
- the JTextArea
-