|
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.JTabbedPane
edu.utep.cs.utjml.gui.ExplorerPane
public class ExplorerPane
A tabbed pane that displays serveral tree panes such as directory browser, open files, and test data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTabbedPane |
|---|
JTabbedPane.AccessibleJTabbedPane, JTabbedPane.ModelListener |
| 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.JTabbedPane |
|---|
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT |
| 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 javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ExplorerPane(Main utjml,
edu.utep.cs.utjml.gui.MenuFactory mf)
Creates a new explore pane for the given main class by using the given menu factory. |
|
| Method Summary | |
|---|---|
void |
addHistory(File file)
Adds the given file to the history of open files. |
String |
getFileName()
Returns the name of the currently selected file. |
edu.utep.cs.utjml.gui.TestCaseTree |
openTestGenPane()
Opens the test generation pane. |
void |
refreshSelected()
Refresh the currently selected node. |
void |
refreshSelectedParent()
Refresh the parent of currently selected node. |
void |
setRoot(File file)
Sets the root of the directory browser. |
| 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 ExplorerPane(Main utjml,
edu.utep.cs.utjml.gui.MenuFactory mf)
| Method Detail |
|---|
public void addHistory(File file)
addHistory in interface Explorablepublic void refreshSelected()
Explorable
refreshSelected in interface Explorablepublic void refreshSelectedParent()
Explorable
refreshSelectedParent in interface Explorablepublic String getFileName()
Explorable
getFileName in interface Explorablepublic void setRoot(File file)
Explorable
setRoot in interface Explorablepublic edu.utep.cs.utjml.gui.TestCaseTree openTestGenPane()
openTestGenPane in interface Explorable
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||