Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.ding
Class DingNetworkView

java.lang.Object
  extended by ding.view.DGraphView
      extended by cytoscape.ding.DingNetworkView
All Implemented Interfaces:
CyNetworkView, GraphView, Printable

public class DingNetworkView
extends DGraphView
implements CyNetworkView


Nested Class Summary
 
Nested classes/interfaces inherited from class ding.view.DGraphView
DGraphView.Canvas, DGraphView.ShapeType
 
Field Summary
 
Fields inherited from interface giny.view.GraphView
EDGE_LINE_TYPE, EDGE_PAINT, EDGE_SELECTION_PAINT, EDGE_SOURCE_END_PAINT, EDGE_SOURCE_END_SELECTED_PAINT, EDGE_SOURCE_END_TYPE, EDGE_TARGET_END_PAINT, EDGE_TARGET_END_SELECTED_PAINT, EDGE_TARGET_END_TYPE, EDGE_WIDTH, NODE_BORDER_PAINT, NODE_BORDER_WIDTH, NODE_HEIGHT, NODE_LABEL, NODE_PAINT, NODE_SELECTION_PAINT, NODE_SHAPE, NODE_WIDTH, NODE_X_POSITION, NODE_Y_POSITION, NODE_Z_POSITION, SOURCE_INDEX, TARGET_INDEX
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
DingNetworkView(CyNetwork network, String title)
          Creates a new DingNetworkView object.
 
Method Summary
 void addEdgeContextMenuListener(EdgeContextMenuListener l)
          DOCUMENT ME!
 void addNodeContextMenuListener(NodeContextMenuListener l)
          DOCUMENT ME!
 void applyLayout(CyLayoutAlgorithm layout)
          DOCUMENT ME!
 void applyLayout(CyLayoutAlgorithm layout, CyNode[] nodes, CyEdge[] edges)
          DOCUMENT ME!
 void applyLayout(CyLayoutAlgorithm layout, CyNodeView[] nodes, CyEdgeView[] edges)
          DOCUMENT ME!
 void applyLayout(CyLayoutAlgorithm layout, int[] nodes, int[] edges)
          DOCUMENT ME!
 void applyLockedLayout(CyLayoutAlgorithm layout, CyNode[] nodes, CyEdge[] edges)
          DOCUMENT ME!
 void applyLockedLayout(CyLayoutAlgorithm layout, CyNodeView[] nodes, CyEdgeView[] edges)
          DOCUMENT ME!
 void applyLockedLayout(CyLayoutAlgorithm layout, int[] nodes, int[] edges)
          DOCUMENT ME!
 boolean applyVizMap(CyEdge edge)
          DOCUMENT ME!
 boolean applyVizMap(CyEdge edge, VisualStyle style)
          DOCUMENT ME!
 boolean applyVizMap(CyNode node)
          DOCUMENT ME!
 boolean applyVizMap(CyNode node, VisualStyle style)
          DOCUMENT ME!
 boolean applyVizMap(EdgeView edge_view)
          DOCUMENT ME!
 boolean applyVizMap(EdgeView edge_view, VisualStyle style)
          DOCUMENT ME!
 boolean applyVizMap(NodeView node_view)
          DOCUMENT ME!
 boolean applyVizMap(NodeView node_view, VisualStyle style)
          DOCUMENT ME!
 void applyVizmapper(VisualStyle style)
          DOCUMENT ME!
 Object getClientData(String data_name)
          DOCUMENT ME!
 Collection getClientDataNames()
          DOCUMENT ME!
 CyNetwork getNetwork()
          DOCUMENT ME!
 List getNodeViewsList()
          DOCUMENT ME!
 String getTitle()
          DOCUMENT ME!
 CyNetworkView getView()
          DOCUMENT ME!
 boolean getVisualMapperEnabled()
          DOCUMENT ME!
 VisualStyle getVisualStyle()
          DOCUMENT ME!
 VisualMappingManager getVizMapManager()
          DOCUMENT ME!
 VizMapUI getVizMapUI()
          DOCUMENT ME!
 void putClientData(String data_name, Object data)
          DOCUMENT ME!
 void redrawGraph(boolean layout, boolean vizmap)
          DOCUMENT ME!
 void removeEdgeContextMenuListener(EdgeContextMenuListener l)
          DOCUMENT ME!
 void removeNodeContextMenuListener(NodeContextMenuListener l)
          DOCUMENT ME!
 boolean setSelected(CyEdge[] edges)
          DOCUMENT ME!
 boolean setSelected(CyNode[] nodes)
          DOCUMENT ME!
 boolean setSelected(EdgeView[] edge_views)
          DOCUMENT ME!
 boolean setSelected(NodeView[] node_views)
          DOCUMENT ME!
 void setTitle(String title)
          DOCUMENT ME!
 void setVisualMapperEnabled(boolean state)
          DOCUMENT ME!
 void setVisualStyle(String vsName)
          DOCUMENT ME!
 void toggleVisualMapperEnabled()
          DOCUMENT ME!
 
Methods inherited from class ding.view.DGraphView
addContentChangeListener, addContextMethod, addEdgeView, addEdgeView, addGraphViewChangeListener, addNodeView, addNodeView, addNodeView, addViewportChangeListener, createImage, disableEdgeSelection, disableNodeSelection, drawSnapshot, edgeCount, edgeSelectionEnabled, enableEdgeSelection, enableNodeSelection, fitContent, fitSelected, getAllEdgePropertyData, getAllNodePropertyData, getAnchorSelectedPaint, getAnchorSize, getAnchorUnselectedPaint, getArrowShapes, getBackgroundPaint, getCanvas, getCanvas, getCenter, getComponent, getContextMethods, getContextMethods, getEdgeBooleanProperty, getEdgeDoubleProperty, getEdgeFloatProperty, getEdgeIntProperty, getEdgeObjectProperty, getEdgeView, getEdgeView, getEdgeViewCount, getEdgeViewsIterator, getEdgeViewsList, getEdgeViewsList, getEdgeViewsList, getExtents, getGraphLOD, getGraphPerspective, getIdentifier, getNodeBooleanProperty, getNodeDoubleProperty, getNodeFloatProperty, getNodeIntProperty, getNodeObjectProperty, getNodeShapes, getNodesIntersectingRectangle, getNodeView, getNodeView, getNodeViewCount, getNodeViewsIterator, getPickedEdgeView, getPickedNodeView, getRootGraph, getSelectedEdgeIndices, getSelectedEdges, getSelectedNodeIndices, getSelectedNodes, getZoom, hideGraphObject, hideGraphObjects, nodeCount, nodeSelectionEnabled, print, queryDrawnEdges, removeContentChangeListener, removeEdgeView, removeEdgeView, removeEdgeView, removeGraphViewChangeListener, removeNodeView, removeNodeView, removeNodeView, removeViewportChangeListener, setAllEdgePropertyData, setAllNodePropertyData, setBackgroundPaint, setCenter, setEdgeBooleanProperty, setEdgeDoubleProperty, setEdgeFloatProperty, setEdgeIntProperty, setEdgeObjectProperty, setGraphLOD, setIdentifier, setNodeBooleanProperty, setNodeDoubleProperty, setNodeFloatProperty, setNodeIntProperty, setNodeObjectProperty, setPrintingTextAsShape, setZoom, showGraphObject, showGraphObjects, updateView, xformComponentToNodeCoords
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface giny.view.GraphView
addContextMethod, addEdgeView, addEdgeView, addGraphViewChangeListener, addNodeView, addNodeView, addNodeView, disableEdgeSelection, disableNodeSelection, edgeCount, edgeSelectionEnabled, enableEdgeSelection, enableNodeSelection, fitContent, getAllEdgePropertyData, getAllNodePropertyData, getBackgroundPaint, getComponent, getContextMethods, getContextMethods, getEdgeBooleanProperty, getEdgeDoubleProperty, getEdgeFloatProperty, getEdgeIntProperty, getEdgeObjectProperty, getEdgeView, getEdgeView, getEdgeViewCount, getEdgeViewsIterator, getEdgeViewsList, getEdgeViewsList, getEdgeViewsList, getGraphPerspective, getIdentifier, getNodeBooleanProperty, getNodeDoubleProperty, getNodeFloatProperty, getNodeIntProperty, getNodeObjectProperty, getNodeView, getNodeView, getNodeViewCount, getNodeViewsIterator, getRootGraph, getSelectedEdgeIndices, getSelectedEdges, getSelectedNodeIndices, getSelectedNodes, getZoom, hideGraphObject, hideGraphObjects, nodeCount, nodeSelectionEnabled, removeEdgeView, removeEdgeView, removeEdgeView, removeGraphViewChangeListener, removeNodeView, removeNodeView, removeNodeView, setAllEdgePropertyData, setAllNodePropertyData, setBackgroundPaint, setEdgeBooleanProperty, setEdgeDoubleProperty, setEdgeFloatProperty, setEdgeIntProperty, setEdgeObjectProperty, setIdentifier, setNodeBooleanProperty, setNodeDoubleProperty, setNodeFloatProperty, setNodeIntProperty, setNodeObjectProperty, setZoom, showGraphObject, showGraphObjects, updateView
 

Constructor Detail

DingNetworkView

public DingNetworkView(CyNetwork network,
                       String title)
Creates a new DingNetworkView object.

Parameters:
network - DOCUMENT ME!
title - DOCUMENT ME!
Method Detail

setVisualStyle

public void setVisualStyle(String vsName)
DOCUMENT ME!

Specified by:
setVisualStyle in interface CyNetworkView
Parameters:
vsName - DOCUMENT ME!

getVisualStyle

public VisualStyle getVisualStyle()
DOCUMENT ME!

Specified by:
getVisualStyle in interface CyNetworkView
Returns:
DOCUMENT ME!

getNetwork

public CyNetwork getNetwork()
DOCUMENT ME!

Specified by:
getNetwork in interface CyNetworkView
Returns:
DOCUMENT ME!

setTitle

public void setTitle(String title)
DOCUMENT ME!

Specified by:
setTitle in interface CyNetworkView
Parameters:
title - DOCUMENT ME!

getTitle

public String getTitle()
DOCUMENT ME!

Specified by:
getTitle in interface CyNetworkView
Returns:
DOCUMENT ME!

redrawGraph

public void redrawGraph(boolean layout,
                        boolean vizmap)
DOCUMENT ME!

Specified by:
redrawGraph in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
vizmap - DOCUMENT ME!

getView

public CyNetworkView getView()
DOCUMENT ME!

Specified by:
getView in interface CyNetworkView
Returns:
DOCUMENT ME!

getVizMapManager

public VisualMappingManager getVizMapManager()
DOCUMENT ME!

Specified by:
getVizMapManager in interface CyNetworkView
Returns:
DOCUMENT ME!

getVizMapUI

public VizMapUI getVizMapUI()
DOCUMENT ME!

Specified by:
getVizMapUI in interface CyNetworkView
Returns:
DOCUMENT ME!

toggleVisualMapperEnabled

public void toggleVisualMapperEnabled()
DOCUMENT ME!

Specified by:
toggleVisualMapperEnabled in interface CyNetworkView

setVisualMapperEnabled

public void setVisualMapperEnabled(boolean state)
DOCUMENT ME!

Specified by:
setVisualMapperEnabled in interface CyNetworkView
Parameters:
state - DOCUMENT ME!

getVisualMapperEnabled

public boolean getVisualMapperEnabled()
DOCUMENT ME!

Specified by:
getVisualMapperEnabled in interface CyNetworkView
Returns:
DOCUMENT ME!

putClientData

public void putClientData(String data_name,
                          Object data)
DOCUMENT ME!

Specified by:
putClientData in interface CyNetworkView
Parameters:
data_name - DOCUMENT ME!
data - DOCUMENT ME!

getClientDataNames

public Collection getClientDataNames()
DOCUMENT ME!

Specified by:
getClientDataNames in interface CyNetworkView
Returns:
DOCUMENT ME!

getClientData

public Object getClientData(String data_name)
DOCUMENT ME!

Specified by:
getClientData in interface CyNetworkView
Parameters:
data_name - DOCUMENT ME!
Returns:
DOCUMENT ME!

setSelected

public boolean setSelected(CyNode[] nodes)
DOCUMENT ME!

Specified by:
setSelected in interface CyNetworkView
Parameters:
nodes - DOCUMENT ME!
Returns:
DOCUMENT ME!

setSelected

public boolean setSelected(NodeView[] node_views)
DOCUMENT ME!

Specified by:
setSelected in interface CyNetworkView
Parameters:
node_views - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(CyEdge edge)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
edge - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(EdgeView edge_view)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
edge_view - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(CyNode node)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
node - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(NodeView node_view)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
node_view - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(CyEdge edge,
                           VisualStyle style)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
edge - DOCUMENT ME!
style - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(EdgeView edge_view,
                           VisualStyle style)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
edge_view - DOCUMENT ME!
style - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(CyNode node,
                           VisualStyle style)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
node - DOCUMENT ME!
style - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizMap

public boolean applyVizMap(NodeView node_view,
                           VisualStyle style)
DOCUMENT ME!

Specified by:
applyVizMap in interface CyNetworkView
Parameters:
node_view - DOCUMENT ME!
style - DOCUMENT ME!
Returns:
DOCUMENT ME!

setSelected

public boolean setSelected(CyEdge[] edges)
DOCUMENT ME!

Specified by:
setSelected in interface CyNetworkView
Parameters:
edges - DOCUMENT ME!
Returns:
DOCUMENT ME!

setSelected

public boolean setSelected(EdgeView[] edge_views)
DOCUMENT ME!

Specified by:
setSelected in interface CyNetworkView
Parameters:
edge_views - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyVizmapper

public void applyVizmapper(VisualStyle style)
DOCUMENT ME!

Specified by:
applyVizmapper in interface CyNetworkView
Parameters:
style - DOCUMENT ME!

applyLayout

public void applyLayout(CyLayoutAlgorithm layout)
DOCUMENT ME!

Specified by:
applyLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!

applyLockedLayout

public void applyLockedLayout(CyLayoutAlgorithm layout,
                              CyNode[] nodes,
                              CyEdge[] edges)
DOCUMENT ME!

Specified by:
applyLockedLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

applyLayout

public void applyLayout(CyLayoutAlgorithm layout,
                        CyNode[] nodes,
                        CyEdge[] edges)
DOCUMENT ME!

Specified by:
applyLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

getNodeViewsList

public List getNodeViewsList()
DOCUMENT ME!

Returns:
DOCUMENT ME!

applyLockedLayout

public void applyLockedLayout(CyLayoutAlgorithm layout,
                              CyNodeView[] nodes,
                              CyEdgeView[] edges)
DOCUMENT ME!

Specified by:
applyLockedLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

applyLayout

public void applyLayout(CyLayoutAlgorithm layout,
                        CyNodeView[] nodes,
                        CyEdgeView[] edges)
DOCUMENT ME!

Specified by:
applyLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

applyLockedLayout

public void applyLockedLayout(CyLayoutAlgorithm layout,
                              int[] nodes,
                              int[] edges)
DOCUMENT ME!

Specified by:
applyLockedLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

applyLayout

public void applyLayout(CyLayoutAlgorithm layout,
                        int[] nodes,
                        int[] edges)
DOCUMENT ME!

Specified by:
applyLayout in interface CyNetworkView
Parameters:
layout - DOCUMENT ME!
nodes - DOCUMENT ME!
edges - DOCUMENT ME!

addNodeContextMenuListener

public void addNodeContextMenuListener(NodeContextMenuListener l)
DOCUMENT ME!

Specified by:
addNodeContextMenuListener in interface CyNetworkView
Overrides:
addNodeContextMenuListener in class DGraphView
Parameters:
l - DOCUMENT ME!

removeNodeContextMenuListener

public void removeNodeContextMenuListener(NodeContextMenuListener l)
DOCUMENT ME!

Specified by:
removeNodeContextMenuListener in interface CyNetworkView
Overrides:
removeNodeContextMenuListener in class DGraphView
Parameters:
l - DOCUMENT ME!

addEdgeContextMenuListener

public void addEdgeContextMenuListener(EdgeContextMenuListener l)
DOCUMENT ME!

Specified by:
addEdgeContextMenuListener in interface CyNetworkView
Overrides:
addEdgeContextMenuListener in class DGraphView
Parameters:
l - DOCUMENT ME!

removeEdgeContextMenuListener

public void removeEdgeContextMenuListener(EdgeContextMenuListener l)
DOCUMENT ME!

Specified by:
removeEdgeContextMenuListener in interface CyNetworkView
Overrides:
removeEdgeContextMenuListener in class DGraphView
Parameters:
l - DOCUMENT ME!

www.cytoscape.org