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

cytoscape.view
Interface GraphViewHandler

All Known Implementing Classes:
BasicGraphViewHandler

public interface GraphViewHandler

This interface represents an object that handles a change in a giny.mode.GraphPerspective by updating one of its giny.view.GraphViews.


Method Summary
 void handleGraphPerspectiveEvent(GraphPerspectiveChangeEvent event, GraphView graph_view)
          Handles the event as desired by updating the given giny.view.GraphView.
 void updateGraphView(GraphView graph_view)
          Updates graph_view so that it is synchronized with its giny.model.GraphPerspective Useful if GraphPerspectiveChangeEvents haven't been handled, and a graph_view must be made synchronized with its GraphPerspective.
 

Method Detail

handleGraphPerspectiveEvent

void handleGraphPerspectiveEvent(GraphPerspectiveChangeEvent event,
                                 GraphView graph_view)
Handles the event as desired by updating the given giny.view.GraphView.

Parameters:
event - the event to handle
graph_view - the giny.view.GraphView that views the giny.model.GraphPerspective that generated the event and that should be updated as necessary

updateGraphView

void updateGraphView(GraphView graph_view)
Updates graph_view so that it is synchronized with its giny.model.GraphPerspective Useful if GraphPerspectiveChangeEvents haven't been handled, and a graph_view must be made synchronized with its GraphPerspective.

Parameters:
graph_view - the giny.view.GraphView that views the should be updated as necessary

www.cytoscape.org