|
||||||||||
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 java.awt.Panel java.applet.Applet javax.swing.JApplet edu.ucla.stat.SOCR.TG_distributome.TGViewerApplet
public class TGViewerApplet
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JApplet |
---|
javax.swing.JApplet.AccessibleJApplet |
Nested classes/interfaces inherited from class java.applet.Applet |
---|
java.applet.Applet.AccessibleApplet |
Nested classes/interfaces inherited from class java.awt.Panel |
---|
java.awt.Panel.AccessibleAWTPanel |
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 | |
---|---|
protected static java.awt.Color |
ControlBgColor
|
protected javax.swing.JPanel |
controlPanel
|
protected boolean |
displayXmlError
|
static java.awt.Color |
EdgeNormalColor
|
static java.awt.Color |
EdgeSelectedHighlightColor
|
protected static java.awt.Color |
EdgeTextColor
|
static java.awt.Color |
EdgeTypeHighlightColor
|
GLPanel |
graph
|
protected static java.awt.Color |
GraphBgColor
|
javax.swing.JScrollPane |
graphPanel
|
protected static java.lang.String |
HideNeighbor
|
protected javax.swing.JComboBox |
highlightEdgeColorChoice
|
protected javax.swing.JComboBox |
highlightNodeColorChoice
|
protected javax.swing.JTextArea |
infoAreaMiddle
|
protected javax.swing.JPanel |
infoAreaReference
|
protected LoadAndShowFormula |
infoAreaUpper
|
protected static java.awt.Color |
InfoBgColor
|
protected static java.awt.Color |
InfoBgColor2
|
protected javax.swing.JPanel |
infoPanel
|
protected static int |
MAXSEARCHLENGTH
|
protected static int |
MAXVIEWABLENODES
|
protected javax.swing.JComboBox |
neighbor_level
|
protected javax.swing.JComboBox |
neighbours_level
|
static java.awt.Color |
NodeBothColor
|
static java.awt.Color |
NodeChildrenColor
|
static java.awt.Color |
NodeNormalColor
|
static java.awt.Color |
NodeParentColor
|
static java.awt.Color |
NodeSelectedHighlightColor
|
protected static java.awt.Color |
NodeTextColor
|
static java.awt.Color |
NodeTypeHighlightColor
|
protected TGViewerPanelInfo |
panelInfo
|
protected javax.swing.JButton |
refreshButton
|
protected java.lang.String |
searchTerm
|
static TGViewerApplet |
selfRef
|
protected static java.lang.String |
ShowBoth
|
protected static java.lang.String |
ShowChildren
|
protected static java.lang.String |
ShowParent
|
protected boolean |
substringCheck
|
protected javax.swing.JTextField |
textEntry
|
protected javax.swing.JButton |
toggleButton
|
protected boolean |
wildCard
|
protected java.lang.String |
xmlErrorMsg
|
protected static int |
XSIZE
|
protected static int |
YSIZE
|
protected javax.swing.JComboBox |
zoom_level
|
protected static java.lang.String |
ZoomIn
|
protected static java.lang.String |
ZoomOut
|
protected static java.lang.String |
ZoomReset
|
Fields inherited from class javax.swing.JApplet |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
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 | |
---|---|
TGViewerApplet()
CONSTRUCTOR |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
ActionListener implementation method |
void |
addTGEdge(SOCREdge _edge)
|
int |
addTGNode(SOCRNode node,
java.awt.Color bg)
|
void |
clearInfoAreas()
|
protected void |
displayInitInfo()
|
void |
doubleClickedNode()
|
void |
doubleClickedWhitespace()
|
void |
edgeSelected()
|
Edge |
findEdgeByIndex(int edgeIndex)
|
Node |
findNodeByIndex(int nodeIndex)
|
int |
findNodeIndex(int id)
|
void |
getXMLInputFile()
|
void |
hideNeighbor()
|
void |
highlightEdgeType(int typeId)
|
void |
highlightNodeAndNeighbors()
|
void |
highlightNodeType(int typeId)
|
void |
highlightSearchResult(boolean atleastOne)
|
void |
highlightSingleEdge()
|
void |
init()
|
protected void |
initControlPanel()
|
void |
initGraph()
|
boolean |
isDebug()
|
void |
keyPressed(java.awt.event.KeyEvent e)
KeyListener implementation - for search field |
void |
keyReleased(java.awt.event.KeyEvent e)
keyListener implement |
void |
keyTyped(java.awt.event.KeyEvent e)
keyListener |
void |
nodeSelected()
|
void |
openDistributiOnLine()
|
protected void |
resetControlPanel()
|
void |
resetEdgeColor()
|
void |
resetNodeColor()
|
void |
showBoth(int pickedNodeIndex)
|
void |
showChildren(int pickedNodeIndex)
|
void |
showNeighbor()
|
void |
showParents(int pickedNodeIndex)
|
protected void |
showURL(java.lang.String urlString,
java.lang.String window)
|
void |
updateInfoAreaUpper(java.net.URL url,
java.lang.String formula)
|
Methods inherited from class javax.swing.JApplet |
---|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
Methods inherited from class java.applet.Applet |
---|
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, 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, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, 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 static final java.lang.String HideNeighbor
protected static final java.lang.String ShowParent
protected static final java.lang.String ShowChildren
protected static final java.lang.String ShowBoth
protected static final java.lang.String ZoomReset
protected static final java.lang.String ZoomIn
protected static final java.lang.String ZoomOut
protected static final int MAXVIEWABLENODES
protected static final int MAXSEARCHLENGTH
protected static final int XSIZE
protected static final int YSIZE
protected boolean displayXmlError
protected java.lang.String xmlErrorMsg
protected static final java.awt.Color ControlBgColor
protected static final java.awt.Color InfoBgColor
protected static final java.awt.Color InfoBgColor2
protected static final java.awt.Color GraphBgColor
protected static final java.awt.Color NodeTextColor
protected static final java.awt.Color EdgeTextColor
public static final java.awt.Color NodeParentColor
public static final java.awt.Color NodeChildrenColor
public static final java.awt.Color NodeBothColor
public static final java.awt.Color NodeTypeHighlightColor
public static final java.awt.Color NodeSelectedHighlightColor
public static final java.awt.Color NodeNormalColor
public static final java.awt.Color EdgeTypeHighlightColor
public static final java.awt.Color EdgeSelectedHighlightColor
public static final java.awt.Color EdgeNormalColor
public static TGViewerApplet selfRef
public javax.swing.JScrollPane graphPanel
protected javax.swing.JPanel controlPanel
protected javax.swing.JPanel infoPanel
protected javax.swing.JTextArea infoAreaMiddle
protected LoadAndShowFormula infoAreaUpper
protected javax.swing.JPanel infoAreaReference
protected TGViewerPanelInfo panelInfo
protected javax.swing.JComboBox neighbours_level
protected javax.swing.JComboBox zoom_level
protected javax.swing.JComboBox highlightNodeColorChoice
protected javax.swing.JComboBox highlightEdgeColorChoice
protected javax.swing.JComboBox neighbor_level
protected javax.swing.JButton refreshButton
protected javax.swing.JButton toggleButton
protected java.lang.String searchTerm
protected javax.swing.JTextField textEntry
protected boolean substringCheck
protected boolean wildCard
public GLPanel graph
Constructor Detail |
---|
public TGViewerApplet()
Method Detail |
---|
public void init()
init
in class java.applet.Applet
protected void initControlPanel()
protected void resetControlPanel()
public void initGraph()
public void getXMLInputFile()
protected void displayInitInfo()
public void clearInfoAreas()
public void updateInfoAreaUpper(java.net.URL url, java.lang.String formula)
public void resetNodeColor()
public void resetEdgeColor()
public int findNodeIndex(int id)
public Edge findEdgeByIndex(int edgeIndex)
public Node findNodeByIndex(int nodeIndex)
public int addTGNode(SOCRNode node, java.awt.Color bg)
public void addTGEdge(SOCREdge _edge)
public void edgeSelected()
public void nodeSelected()
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void showNeighbor()
public void showBoth(int pickedNodeIndex)
public void showParents(int pickedNodeIndex)
public void showChildren(int pickedNodeIndex)
public void hideNeighbor()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void doubleClickedWhitespace()
public void doubleClickedNode()
public void openDistributiOnLine()
public void highlightNodeAndNeighbors()
public void highlightSearchResult(boolean atleastOne)
public void highlightNodeType(int typeId)
public void highlightSingleEdge()
public void highlightEdgeType(int typeId)
protected void showURL(java.lang.String urlString, java.lang.String window)
public boolean isDebug()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |