net.sourceforge.olduvai.treejuxtaposer
Class DebugFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by net.sourceforge.olduvai.treejuxtaposer.DebugFrame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.ChangeListener, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class DebugFrame
extends javax.swing.JFrame
implements javax.swing.event.ChangeListener

Debugging class. The debugging window isn't supported by releases, and access to this class is intended to be removed from the menu panel for releases. This window displays some values of interest, usually for mouse-over, some other state as well. The chunk size label for controlling block size is currently found on this window, but shouldn't be required for general purpose use.

Author:
jslack
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int ACT_GROWDIR
           
static int ACT_MODE
           
static int ACT_SELECTION
           
static int ACT_TYPE
           
static java.lang.String[] actionModeLabel
           
static java.lang.String[] actionTargetLabel
           
(package private) static int B_TARGET
           
static int BCN_SCORE
           
private static javax.swing.JSlider chunkSizeForDrawing
           
private static javax.swing.JLabel chunkSizeLabel
           
private static java.lang.String chunkSizeString
           
static int DEPTH_TEST
           
(package private) static int H_TARGET
           
static int M_GROUP
           
static int NAV_TYPE
           
(package private) static int NODE_TARGET
           
 javax.swing.JTextField[] result
           
private  javax.swing.JLabel[] resultLabel
           
private static java.lang.String[] resultType
           
static int SHOW_GRID
           
static int SHOW_TREE
           
static javax.swing.JCheckBox showGrid
           
static javax.swing.JCheckBox showTree
           
(package private) static int SUBTREE_TARGET
           
private  TreeJuxtaposer tj
           
(package private) static int V_TARGET
           
 
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.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
DebugFrame(TreeJuxtaposer tj)
           
DebugFrame(TreeJuxtaposer tj, java.awt.GraphicsConfiguration gc)
           
DebugFrame(TreeJuxtaposer tj, java.lang.String title)
           
DebugFrame(TreeJuxtaposer tj, java.lang.String title, java.awt.GraphicsConfiguration gc)
           
 
Method Summary
private  void initComponents()
           
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
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

tj

private TreeJuxtaposer tj

resultType

private static final java.lang.String[] resultType

ACT_TYPE

public static final int ACT_TYPE
See Also:
Constant Field Values

ACT_MODE

public static final int ACT_MODE
See Also:
Constant Field Values

ACT_SELECTION

public static final int ACT_SELECTION
See Also:
Constant Field Values

ACT_GROWDIR

public static final int ACT_GROWDIR
See Also:
Constant Field Values

M_GROUP

public static final int M_GROUP
See Also:
Constant Field Values

NAV_TYPE

public static final int NAV_TYPE
See Also:
Constant Field Values

BCN_SCORE

public static final int BCN_SCORE
See Also:
Constant Field Values

DEPTH_TEST

public static final int DEPTH_TEST
See Also:
Constant Field Values

SHOW_TREE

public static final int SHOW_TREE
See Also:
Constant Field Values

SHOW_GRID

public static final int SHOW_GRID
See Also:
Constant Field Values

result

public javax.swing.JTextField[] result

resultLabel

private javax.swing.JLabel[] resultLabel

chunkSizeForDrawing

private static javax.swing.JSlider chunkSizeForDrawing

chunkSizeString

private static java.lang.String chunkSizeString

chunkSizeLabel

private static javax.swing.JLabel chunkSizeLabel

showGrid

public static javax.swing.JCheckBox showGrid

showTree

public static javax.swing.JCheckBox showTree

actionModeLabel

public static final java.lang.String[] actionModeLabel

actionTargetLabel

public static final java.lang.String[] actionTargetLabel

H_TARGET

static final int H_TARGET
See Also:
Constant Field Values

V_TARGET

static final int V_TARGET
See Also:
Constant Field Values

B_TARGET

static final int B_TARGET
See Also:
Constant Field Values

NODE_TARGET

static final int NODE_TARGET
See Also:
Constant Field Values

SUBTREE_TARGET

static final int SUBTREE_TARGET
See Also:
Constant Field Values
Constructor Detail

DebugFrame

public DebugFrame(TreeJuxtaposer tj)
Throws:
java.awt.HeadlessException

DebugFrame

public DebugFrame(TreeJuxtaposer tj,
                  java.awt.GraphicsConfiguration gc)
Parameters:
gc -

DebugFrame

public DebugFrame(TreeJuxtaposer tj,
                  java.lang.String title)
Parameters:
title -
Throws:
java.awt.HeadlessException

DebugFrame

public DebugFrame(TreeJuxtaposer tj,
                  java.lang.String title,
                  java.awt.GraphicsConfiguration gc)
Parameters:
title -
gc -
Method Detail

initComponents

private void initComponents()

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener