|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.greenstone.gatherer.util
Class TreeModelTest

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.greenstone.gatherer.util.TreeModelTest
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class TreeModelTest
- extends javax.swing.JFrame
| Nested Class Summary | |
private class |
TreeModelTest.AddListener
|
private class |
TreeModelTest.DangerousTask
|
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private javax.swing.JToggleButton |
dangerous_button
Testing - a button for toggling the dangerous thread on and off. |
private static boolean |
debug
Testing - should a debug file be written. |
private javax.swing.tree.DefaultTreeModel |
model
Testing - the tree model, which may be a SynchronizedTreeModel. |
private static java.io.FileOutputStream |
output
Testing - debug output stream. |
private TreeModelTest.DangerousTask |
preset_task
Testing - a dangerous thread which builds a preset structure. |
private static java.awt.Dimension |
SIZE
Testing - test frame size. |
private TreeModelTest.DangerousTask |
task
Testing - a dangerous thread which hammers the mutable tree model. |
private javax.swing.JTree |
tree
Testing - the tree used during testing. |
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
(package private) |
TreeModelTest(boolean safe)
|
| Method Summary | |
(package private) static void |
debug(java.lang.String message)
Testing - write a message to the debug file. |
static void |
main(java.lang.String[] args)
Testing - creates a frame containing a JTree backed by either a normal DefaultTreeModel or a SynchronizedTreeModel depending on arguments. |
(package private) static void |
printUsage()
Testing - usage message. |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
SIZE
private static final java.awt.Dimension SIZE
- Testing - test frame size.
debug
private static boolean debug
- Testing - should a debug file be written.
output
private static java.io.FileOutputStream output
- Testing - debug output stream.
task
private TreeModelTest.DangerousTask task
- Testing - a dangerous thread which hammers the mutable tree model.
preset_task
private TreeModelTest.DangerousTask preset_task
- Testing - a dangerous thread which builds a preset structure.
model
private javax.swing.tree.DefaultTreeModel model
- Testing - the tree model, which may be a SynchronizedTreeModel.
dangerous_button
private javax.swing.JToggleButton dangerous_button
- Testing - a button for toggling the dangerous thread on and off.
tree
private javax.swing.JTree tree
- Testing - the tree used during testing.
| Constructor Detail |
TreeModelTest
TreeModelTest(boolean safe)
| Method Detail |
debug
static void debug(java.lang.String message)
- Testing - write a message to the debug file.
printUsage
static void printUsage()
- Testing - usage message.
main
public static void main(java.lang.String[] args)
- Testing - creates a frame containing a JTree backed by either a normal DefaultTreeModel or a SynchronizedTreeModel depending on arguments. There are also several actions you can perform by clicking on buttons.
|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC