Miscellaneous (center panel)
- "bold text": if checked, all vertex and edge labels are drawn using a
boldface font. Otherwise, a normal-weight font is used. (Has no effect if
no labels are currently visible.)
- zoom controls:
- "+" zooms in, "-" zooms out
- "zoom at mouse (wheel only)": if checked, zooming (using the mouse
scroll wheel) is centered on the location of the mouse pointer; otherwise,
it is centered on the center of the visualization pane.
- Author:
- Danyel Fisher, Joshua O'Madadhain, Tom Nelson
- See Also:
- Serialized Form
Field Summary |
protected JCheckBox |
e_arrow_centered
|
protected JRadioButton |
e_bent
|
protected JCheckBox |
e_color
|
protected JRadioButton |
e_cubic
|
protected JCheckBox |
e_darrow_pred
|
protected JCheckBox |
e_labels
|
protected JRadioButton |
e_line
|
protected JRadioButton |
e_ortho
|
protected JRadioButton |
e_quad
|
protected JCheckBox |
e_show_d
|
protected JCheckBox |
e_show_u
|
protected JCheckBox |
e_uarrow_pred
|
protected JRadioButton |
e_wedge
|
protected Map<Number,Number> |
edge_weight
|
protected PluggableRendererDemo.GradientPickedEdgePaintFunction<Integer,Number> |
edgeDrawPaint
|
protected PluggableRendererDemo.GradientPickedEdgePaintFunction<Integer,Number> |
edgeFillPaint
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.EdgeFontTransformer<Number> |
eff
|
protected |
es
|
protected |
es_none
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.EdgeWeightStrokeFunction<Number> |
ewcs
|
protected JCheckBox |
fill_edges
|
protected JCheckBox |
font
|
protected DefaultModalGraphMouse<Integer,Number> |
gm
|
protected static int |
gradient_level
|
protected static int |
GRADIENT_NONE
|
protected JRadioButton |
gradient_relative
|
protected static int |
GRADIENT_RELATIVE
|
protected JRadioButton |
no_gradient
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.SeedDrawColor<Integer> |
seedDrawColor
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.SeedFillColor<Integer> |
seedFillColor
|
protected Set<Integer> |
seedVertices
|
protected |
self_loop
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.DirectionDisplayPredicate<Integer,Number> |
show_arrow
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.DirectionDisplayPredicate<Integer,Number> |
show_edge
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexDisplayPredicate<Integer,Number> |
show_vertex
|
protected Map<Integer,Number> |
transparency
|
protected static Object |
TRANSPARENCY
|
protected JCheckBox |
v_aspect
|
protected JCheckBox |
v_color
|
protected JCheckBox |
v_labels
|
protected JCheckBox |
v_shape
|
protected JCheckBox |
v_size
|
protected JCheckBox |
v_small
|
protected JCheckBox |
v_stroke
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexFontTransformer<Integer> |
vff
|
protected static Object |
VOLTAGE_KEY
|
protected |
voltages
|
protected |
vs
|
protected |
vs_none
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexStrokeHighlight<Integer,Number> |
vsh
|
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexShapeSizeAspect<Integer,Number> |
vssa
|
protected VisualizationViewer<Integer,Number> |
vv
|
protected JCheckBox |
zoom_at_mouse
|
Methods inherited from class javax.swing.JApplet |
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.applet.Applet |
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop |
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, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, 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, 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 |
v_color
protected JCheckBox v_color
e_color
protected JCheckBox e_color
v_stroke
protected JCheckBox v_stroke
e_uarrow_pred
protected JCheckBox e_uarrow_pred
e_darrow_pred
protected JCheckBox e_darrow_pred
e_arrow_centered
protected JCheckBox e_arrow_centered
v_shape
protected JCheckBox v_shape
v_size
protected JCheckBox v_size
v_aspect
protected JCheckBox v_aspect
v_labels
protected JCheckBox v_labels
e_line
protected JRadioButton e_line
e_bent
protected JRadioButton e_bent
e_wedge
protected JRadioButton e_wedge
e_quad
protected JRadioButton e_quad
e_ortho
protected JRadioButton e_ortho
e_cubic
protected JRadioButton e_cubic
e_labels
protected JCheckBox e_labels
font
protected JCheckBox font
e_show_d
protected JCheckBox e_show_d
e_show_u
protected JCheckBox e_show_u
v_small
protected JCheckBox v_small
zoom_at_mouse
protected JCheckBox zoom_at_mouse
fill_edges
protected JCheckBox fill_edges
no_gradient
protected JRadioButton no_gradient
gradient_relative
protected JRadioButton gradient_relative
GRADIENT_NONE
protected static final int GRADIENT_NONE
- See Also:
- Constant Field Values
GRADIENT_RELATIVE
protected static final int GRADIENT_RELATIVE
- See Also:
- Constant Field Values
gradient_level
protected static int gradient_level
seedFillColor
protected edu.uci.ics.jung.samples.PluggableRendererDemo.SeedFillColor<Integer> seedFillColor
seedDrawColor
protected edu.uci.ics.jung.samples.PluggableRendererDemo.SeedDrawColor<Integer> seedDrawColor
ewcs
protected edu.uci.ics.jung.samples.PluggableRendererDemo.EdgeWeightStrokeFunction<Number> ewcs
vsh
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexStrokeHighlight<Integer,Number> vsh
vs
protected vs
vs_none
protected vs_none
es
protected es
es_none
protected es_none
vff
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexFontTransformer<Integer> vff
eff
protected edu.uci.ics.jung.samples.PluggableRendererDemo.EdgeFontTransformer<Number> eff
vssa
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexShapeSizeAspect<Integer,Number> vssa
show_edge
protected edu.uci.ics.jung.samples.PluggableRendererDemo.DirectionDisplayPredicate<Integer,Number> show_edge
show_arrow
protected edu.uci.ics.jung.samples.PluggableRendererDemo.DirectionDisplayPredicate<Integer,Number> show_arrow
show_vertex
protected edu.uci.ics.jung.samples.PluggableRendererDemo.VertexDisplayPredicate<Integer,Number> show_vertex
self_loop
protected self_loop
edgeDrawPaint
protected PluggableRendererDemo.GradientPickedEdgePaintFunction<Integer,Number> edgeDrawPaint
edgeFillPaint
protected PluggableRendererDemo.GradientPickedEdgePaintFunction<Integer,Number> edgeFillPaint
VOLTAGE_KEY
protected static final Object VOLTAGE_KEY
TRANSPARENCY
protected static final Object TRANSPARENCY
edge_weight
protected Map<Number,Number> edge_weight
voltages
protected voltages
transparency
protected Map<Integer,Number> transparency
vv
protected VisualizationViewer<Integer,Number> vv
gm
protected DefaultModalGraphMouse<Integer,Number> gm
seedVertices
protected Set<Integer> seedVertices
PluggableRendererDemo
public PluggableRendererDemo()
start
public void start()
- Overrides:
start
in class Applet
main
public static void main(String[] s)
startFunction
public JPanel startFunction()
getGraph
public Graph<Integer,Number> getGraph()
- Generates a mixed-mode random graph, runs VoltageRanker on it, and
returns the resultant graph.
addBottomControls
protected void addBottomControls(JPanel jp)
- Parameters:
jp
- panel to which controls will be added
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
Copyright © 2010 null. All Rights Reserved.