|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.crimson.gui.Root
public class Root
Base window for GUI.
| Nested Class Summary | |
|---|---|
private static class |
Root.RootFrame
|
| Field Summary | |
|---|---|
static javax.swing.JTextArea |
history
This will contain all commands that the GUI generates and sends to the console to be run. |
static javax.swing.JTextArea |
messages
This will contain all error and warning messages. |
static javax.swing.JProgressBar |
progressBar
This will be used to display the progress during importing and exporting of trees. |
private static Root.RootFrame |
rootFrame
|
static boolean |
showMessages
Flag whether to display messages in the 'messages' panel. |
static javax.swing.JLabel |
statusBar
|
| Constructor Summary | |
|---|---|
Root()
|
|
| Method Summary | |
|---|---|
static boolean |
isVisible()
|
static void |
runCommand(java.lang.String msg)
This will add the String to the history and then run the command through the console. |
static void |
runCommand(java.lang.String msg,
boolean toConsole)
This will add the String to the history and if 'toConsole', then run the command through the console. |
static javax.swing.JFrame |
show()
|
static void |
startProgressBar(java.lang.String msg)
This will turn on the progress bar. |
static void |
stopProgressBar()
This will turn off the progress bar. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Root.RootFrame rootFrame
public static javax.swing.JTextArea messages
public static javax.swing.JProgressBar progressBar
public static boolean showMessages
public static javax.swing.JTextArea history
public static javax.swing.JLabel statusBar
| Constructor Detail |
|---|
public Root()
| Method Detail |
|---|
public static javax.swing.JFrame show()
public static void runCommand(java.lang.String msg)
public static void runCommand(java.lang.String msg,
boolean toConsole)
public static void startProgressBar(java.lang.String msg)
public static void stopProgressBar()
public static boolean isVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||