|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JTextArea
edu.utep.cs.utjml.gui.OutputPane
public class OutputPane
A special text area where all outputs from the GUI should go and be displayed.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTextArea |
|---|
JTextArea.AccessibleJTextArea |
| Nested classes/interfaces inherited from class javax.swing.text.JTextComponent |
|---|
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
BLANK_ICON
Blank space to align menu items. |
static String |
CLASS_EXTENSION
The extension of Java class files. |
static Color |
COLOR_EXPLORER
|
static Color |
COLOR_OUTPUT
|
static String |
COPYRIGHT
The copyright notice. |
static boolean |
DEBUG
|
static String |
EDIT_MENU_NAME
The name of edit menu. |
static char |
EXPLORER_DIR
The indentification character of the directory browser. |
static String |
EXPLORER_ROOT
The default root directory of the directory browser. |
static String |
FILE_MENU_NAME
The name of file menu. |
static String |
HELP_MENU_NAME
The name of help menu. |
static ImageIcon |
ICON_ABOUT
The image icon for the tool information. |
static ImageIcon |
ICON_BROWSER
|
static ImageIcon |
ICON_DELETE
The image icon for deleting a file or a selected text. |
static ImageIcon |
ICON_ERROR
The image icon for an error situation. |
static ImageIcon |
ICON_FILE
|
static ImageIcon |
ICON_FOLDER
|
static ImageIcon |
ICON_GEN_APP
The image icon for compilation. |
static ImageIcon |
ICON_HOME
The image icon for JML. |
static ImageIcon |
ICON_INFORM
The image icon for information messages. |
static ImageIcon |
ICON_JAVA_FILE
|
static ImageIcon |
ICON_JML_LOGO
The image icon for JML. |
static ImageIcon |
ICON_NEW
The image icon for creating a new file. |
static ImageIcon |
ICON_NEWTESTSUITE
|
static ImageIcon |
ICON_NOTE
The image icon for notes. |
static ImageIcon |
ICON_OPEN
The image icon for opening a file. |
static ImageIcon |
ICON_PREFERENCES
The image icon for preferences. |
static ImageIcon |
ICON_QUESTION
The image icon for questions. |
static ImageIcon |
ICON_REDO
The image icon for redoing an edit action. |
static ImageIcon |
ICON_TEST_FILE
The image icon for JML. |
static ImageIcon |
ICON_UNDO
The image icon for undoing an edit action. |
static ImageIcon |
ICON_UNKOWN
The image icon for unknown. |
static ImageIcon |
ICON_WARN
The image icon for warning messages. |
static String |
JAVA
|
static String |
JAVA_EXTENSION
The extension of Java source files. |
static String |
JAVAC
|
static String |
JUNIT_SWINGGUI_TESTRUNNER
|
static String |
NEWLINE
The system-dependent newline character. |
static String |
OPTION_MENU_NAME
The name of option menu. |
static String |
TEST_MENU_NAME
The name of test menu. |
static String |
TOOL_MENU_NAME
The name of tool menu. |
static String |
VERSION
The version number. |
static String |
WEB_PAGE_LOCATION
The URL address of the web page. |
static String |
WEB_PAGE_NAME
The name of web page. |
static int |
WINDOW_HEIGHT
The initial height of the window. |
static int |
WINDOW_MIN_HEIGHT
The minimum height of the window. |
static int |
WINDOW_MIN_WIDTH
The minimum width of the window. |
static int |
WINDOW_WIDTH
The initial width of the window. |
| Fields inherited from class javax.swing.text.JTextComponent |
|---|
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
OutputPane(Mainable utjml,
edu.utep.cs.utjml.gui.ActionFactory af)
|
|
| Method Summary | |
|---|---|
void |
append(String msg)
Appends the given message to this text area. |
OutputStream |
outputStream()
Returns an output stream view of this output area. |
void |
println(String msg)
Appends the given message msg to this text area. |
void |
removeHighlights()
Removes only our private highlights. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
public static final String COPYRIGHT
public static final String JAVA_EXTENSION
public static final String CLASS_EXTENSION
public static final char EXPLORER_DIR
public static final String EXPLORER_ROOT
public static final String NEWLINE
public static final boolean DEBUG
public static final int WINDOW_WIDTH
public static final int WINDOW_HEIGHT
public static final int WINDOW_MIN_WIDTH
public static final int WINDOW_MIN_HEIGHT
public static final String HELP_MENU_NAME
public static final String FILE_MENU_NAME
public static final String EDIT_MENU_NAME
public static final String TEST_MENU_NAME
public static final String TOOL_MENU_NAME
public static final String OPTION_MENU_NAME
public static final String WEB_PAGE_NAME
public static final String WEB_PAGE_LOCATION
public static final String BLANK_ICON
public static final ImageIcon ICON_UNKOWN
public static final ImageIcon ICON_NOTE
public static final ImageIcon ICON_ABOUT
public static final ImageIcon ICON_GEN_APP
public static final ImageIcon ICON_NEW
public static final ImageIcon ICON_REDO
public static final ImageIcon ICON_UNDO
public static final ImageIcon ICON_ERROR
public static final ImageIcon ICON_INFORM
public static final ImageIcon ICON_PREFERENCES
public static final ImageIcon ICON_QUESTION
public static final ImageIcon ICON_WARN
public static final ImageIcon ICON_OPEN
public static final ImageIcon ICON_DELETE
public static final ImageIcon ICON_JML_LOGO
public static final ImageIcon ICON_TEST_FILE
public static final ImageIcon ICON_HOME
public static final ImageIcon ICON_BROWSER
public static final ImageIcon ICON_NEWTESTSUITE
public static final ImageIcon ICON_FOLDER
public static final ImageIcon ICON_FILE
public static final ImageIcon ICON_JAVA_FILE
public static final String JAVA
public static final String JAVAC
public static final String JUNIT_SWINGGUI_TESTRUNNER
public static final Color COLOR_EXPLORER
public static final Color COLOR_OUTPUT
| Constructor Detail |
|---|
public OutputPane(Mainable utjml,
edu.utep.cs.utjml.gui.ActionFactory af)
| Method Detail |
|---|
public void append(String msg)
append in class JTextAreapublic void println(String msg)
msg to this text area.
A newline character is automatically appended at the end
of the message.
println in interface OutputPaneablepublic OutputStream outputStream()
outputStream in interface OutputPaneablepublic void removeHighlights()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||