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

cytoscape.actions
Class GinyUtils

java.lang.Object
  extended by cytoscape.actions.GinyUtils

public class GinyUtils
extends Object

Utility operations for selection and hiding/unhiding nodes and edges in a Giny GraphView. Only those nodes and edges that were hidden using this class will be unhidden when using the unHide* methods. Because the Giny API does not provide any means to determine if a NodeView or an EdgeView is visible or not, we must internally store all hidden nodes and edges. This class uses GraphPerspective's hide* * and restore* methods to hide and unhide nodes and edges.


Constructor Summary
GinyUtils()
           
 
Method Summary
static void deselectAllEdges(GraphView view)
          DOCUMENT ME!
static void deselectAllNodes(GraphView view)
          DOCUMENT ME!
static void hideAllEdges(GraphView view)
          DOCUMENT ME!
static void hideSelectedEdges(GraphView view)
          DOCUMENT ME!
static void hideSelectedNodes(GraphView view)
          DOCUMENT ME!
static void invertSelectedEdges(GraphView view)
          DOCUMENT ME!
static void invertSelectedNodes(GraphView view)
          DOCUMENT ME!
static void selectAllEdges(GraphView view)
          DOCUMENT ME!
static void selectAllNodes(GraphView view)
          DOCUMENT ME!
static void selectFirstNeighbors(GraphView view)
          DOCUMENT ME!
static void unHideAll(GraphView view)
          DOCUMENT ME!
static void unHideAllEdges(GraphView view)
          DOCUMENT ME!
static void unHideNodesAndInterconnectingEdges(GraphView view)
          DOCUMENT ME!
static void unHideSelectedEdges(GraphView view)
          DOCUMENT ME!
static void unHideSelectedNodes(GraphView view)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GinyUtils

public GinyUtils()
Method Detail

hideSelectedNodes

public static void hideSelectedNodes(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

unHideSelectedNodes

public static void unHideSelectedNodes(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

unHideAll

public static void unHideAll(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

unHideNodesAndInterconnectingEdges

public static void unHideNodesAndInterconnectingEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

hideSelectedEdges

public static void hideSelectedEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

unHideSelectedEdges

public static void unHideSelectedEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

invertSelectedNodes

public static void invertSelectedNodes(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

invertSelectedEdges

public static void invertSelectedEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

selectFirstNeighbors

public static void selectFirstNeighbors(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

selectAllNodes

public static void selectAllNodes(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

deselectAllNodes

public static void deselectAllNodes(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

selectAllEdges

public static void selectAllEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

deselectAllEdges

public static void deselectAllEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

hideAllEdges

public static void hideAllEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

unHideAllEdges

public static void unHideAllEdges(GraphView view)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!

www.cytoscape.org