|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel net.clackrouter.gui.HierarchComponent
public class HierarchComponent
This component is basically a throw-away experiment. Do not base anything on it.
Eventually, it may be salvaged and used as a framework for many hierarchical components, but right now its a mess of old GPDocument and TCP GUI code.
There must be a better way, but I don't have time to sort it out right now.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
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.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected Rule |
columnRule
Deprecated. The column rule for the graph |
protected java.util.Hashtable |
componentCells
Deprecated. |
protected TCB |
currentTCB
Deprecated. |
protected TCB |
dummyTCB
Deprecated. |
protected boolean |
enableTooltips
Deprecated. |
protected java.io.File |
file
Deprecated. Filename for the current document. |
protected java.lang.String |
findPattern
Deprecated. contains the find pattern for this document |
protected javax.swing.Action |
fitAction
Deprecated. Action used for fitting the size |
protected RouterGraph |
graph
Deprecated. The joint graph for this document |
protected ClackFramework |
graphpad
Deprecated. A reference to the top level component |
protected javax.swing.JTextField |
ip_text
Deprecated. |
protected static boolean |
isMetric
Deprecated. true if the current graph is Metric. |
protected java.lang.Object |
lastFound
Deprecated. contains the last found object |
protected static boolean |
libraryExpanded
Deprecated. true if the library expand is expanded default is true |
protected boolean |
modified
Deprecated. True if this documents graph model was modified since last save. |
protected TCP |
mTCP
Deprecated. |
protected javax.swing.JDialog |
overviewDialog
Deprecated. The overview Dialog for this document. |
protected javax.swing.JTextField |
port_text
Deprecated. |
protected Router |
router
Deprecated. |
protected Rule |
rowRule
Deprecated. The row rule for the graph |
protected javax.swing.JScrollPane |
scrollPane
Deprecated. Container for the graph so that you can scroll over the graph |
protected static boolean |
showRuler
Deprecated. true if the ruler show is activated |
protected GPSplitPane |
splitPane
Deprecated. Splitpane between the libraries and the graph |
protected GPStatusBar |
statusbar
Deprecated. |
protected ClackTab |
tab
Deprecated. a reference to the internal Frame |
protected Touch |
touch
Deprecated. On the fly 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 java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
HierarchComponent(ClackFramework graphpad,
RouterGraph gpGraph,
GraphModel model,
TCP t)
Deprecated. Constructor for GPDocument. |
Method Summary | |
---|---|
protected javax.swing.JScrollPane |
createScrollPane()
Deprecated. |
Rule |
getColumnRule()
Deprecated. Returns the columnRule. |
protected java.lang.String |
getDocumentScale()
Deprecated. |
protected java.lang.String |
getDocumentTitle()
Deprecated. |
java.io.File |
getFilename()
Deprecated. Returns the filename. |
JGraph |
getGraph()
Deprecated. |
ClackFramework |
getGraphpad()
Deprecated. Returns the graphpad. |
Router |
getRouter()
Deprecated. |
Rule |
getRowRule()
Deprecated. Returns the rowRule. |
javax.swing.JScrollPane |
getScrollPane()
Deprecated. Returns the scrollPane. |
GPSplitPane |
getSplitPane()
Deprecated. Returns the splitPane. |
GPStatusBar |
getStatusBar()
Deprecated. |
Touch |
getTouch()
Deprecated. Returns the touch. |
void |
graphChanged(GraphModelEvent e)
Deprecated. |
boolean |
isEnableTooltips()
Deprecated. Returns the enableTooltips. |
void |
setColumnRule(Rule columnRule)
Deprecated. Sets the columnRule. |
void |
setCurrentTCB(TCB newTCB)
Deprecated. |
void |
setEnableTooltips(boolean enableTooltips)
Deprecated. Sets the enableTooltips. |
void |
setFilename(java.io.File filename)
Deprecated. Sets the filename. |
void |
setGraphpad(ClackFramework graphpad)
Deprecated. Sets the graphpad. |
void |
setModified(boolean modified)
Deprecated. |
void |
setRowRule(Rule rowRule)
Deprecated. Sets the rowRule. |
void |
setScrollPane(javax.swing.JScrollPane scrollPane)
Deprecated. Sets the scrollPane. |
void |
setSplitPane(GPSplitPane splitPane)
Deprecated. Sets the splitPane. |
void |
setTouch(Touch touch)
Deprecated. Sets the touch. |
protected void |
update()
Deprecated. |
protected void |
updateTabTitle()
Deprecated. Returns the internalFrame. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean enableTooltips
protected java.io.File file
protected ClackFramework graphpad
protected GPSplitPane splitPane
protected javax.swing.JScrollPane scrollPane
protected RouterGraph graph
protected javax.swing.JDialog overviewDialog
protected Rule columnRule
protected Rule rowRule
protected Touch touch
protected boolean modified
protected static boolean isMetric
protected static boolean libraryExpanded
protected static boolean showRuler
protected javax.swing.Action fitAction
protected java.lang.String findPattern
protected java.lang.Object lastFound
protected ClackTab tab
protected Router router
protected TCB currentTCB
protected TCB dummyTCB
protected TCP mTCP
protected java.util.Hashtable componentCells
protected javax.swing.JTextField ip_text
protected javax.swing.JTextField port_text
protected GPStatusBar statusbar
Constructor Detail |
---|
public HierarchComponent(ClackFramework graphpad, RouterGraph gpGraph, GraphModel model, TCP t)
Method Detail |
---|
public void setCurrentTCB(TCB newTCB)
public java.io.File getFilename()
public Router getRouter()
public JGraph getGraph()
public GPStatusBar getStatusBar()
public void setFilename(java.io.File filename)
filename
- The filename to setprotected javax.swing.JScrollPane createScrollPane()
public void setModified(boolean modified)
protected java.lang.String getDocumentTitle()
protected java.lang.String getDocumentScale()
public void graphChanged(GraphModelEvent e)
protected void update()
public ClackFramework getGraphpad()
public void setGraphpad(ClackFramework graphpad)
graphpad
- The graphpad to setpublic Touch getTouch()
public void setTouch(Touch touch)
touch
- The touch to setpublic GPSplitPane getSplitPane()
public void setSplitPane(GPSplitPane splitPane)
splitPane
- The splitPane to setpublic javax.swing.JScrollPane getScrollPane()
public void setScrollPane(javax.swing.JScrollPane scrollPane)
scrollPane
- The scrollPane to setpublic Rule getColumnRule()
public Rule getRowRule()
public void setColumnRule(Rule columnRule)
columnRule
- The columnRule to setpublic void setRowRule(Rule rowRule)
rowRule
- The rowRule to setpublic boolean isEnableTooltips()
public void setEnableTooltips(boolean enableTooltips)
enableTooltips
- The enableTooltips to setprotected void updateTabTitle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |