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

giny.model
Class GraphPerspectiveChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by giny.model.GraphPerspectiveChangeEvent
All Implemented Interfaces:
Serializable

public abstract class GraphPerspectiveChangeEvent
extends EventObject

The event source must be the GraphPerspective that changed.

See Also:
Serialized Form

Field Summary
static int EDGES_HIDDEN_TYPE
           
static int EDGES_RESTORED_TYPE
           
static int EDGES_SELECTED_TYPE
           
static int EDGES_UNSELECTED_TYPE
           
static int NODES_HIDDEN_TYPE
           
static int NODES_RESTORED_TYPE
           
static int NODES_SELECTED_TYPE
           
static int NODES_UNSELECTED_TYPE
           
 
Constructor Summary
GraphPerspectiveChangeEvent(Object source)
          The source parameter should be either a RootGraph or a GraphPerspective; see specification of getSource().
 
Method Summary
abstract  int[] getHiddenEdgeIndices()
          The integer values in the returned array are RootGraph indices.
abstract  Edge[] getHiddenEdges()
          Deprecated. Use getHiddenEdgeIndices() instead; the edges returned by this method may have undefined state.
abstract  int[] getHiddenNodeIndices()
          The integer values in the returned array are RootGraph indices.
abstract  Node[] getHiddenNodes()
          Deprecated. Use getHiddenNodeIndices() instead; the nodes returned by this method may have undefined state.
abstract  int[] getRestoredEdgeIndices()
          The integer values in the returned array are RootGraph indices.
abstract  Edge[] getRestoredEdges()
           
abstract  int[] getRestoredNodeIndices()
          The integer values in the returned array are RootGraph indices.
abstract  Node[] getRestoredNodes()
           
abstract  int[] getSelectedEdgeIndices()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.
abstract  Edge[] getSelectedEdges()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.
abstract  int[] getSelectedNodeIndices()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.
abstract  Node[] getSelectedNodes()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.
 Object getSource()
          The Object returned is one of two types - either a GraphPerspective or a RootGraph.
abstract  int getType()
           
abstract  int[] getUnselectedEdgeIndices()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.
abstract  Edge[] getUnselectedEdges()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.
abstract  int[] getUnselectedNodeIndices()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.
abstract  Node[] getUnselectedNodes()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.
abstract  boolean isEdgesHiddenType()
           
abstract  boolean isEdgesRestoredType()
           
abstract  boolean isEdgesSelectedType()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.
abstract  boolean isEdgesUnselectedType()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.
abstract  boolean isNodesHiddenType()
           
abstract  boolean isNodesRestoredType()
           
abstract  boolean isNodesSelectedType()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.
abstract  boolean isNodesUnselectedType()
          Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODES_RESTORED_TYPE

public static final int NODES_RESTORED_TYPE
See Also:
Constant Field Values

EDGES_RESTORED_TYPE

public static final int EDGES_RESTORED_TYPE
See Also:
Constant Field Values

NODES_HIDDEN_TYPE

public static final int NODES_HIDDEN_TYPE
See Also:
Constant Field Values

EDGES_HIDDEN_TYPE

public static final int EDGES_HIDDEN_TYPE
See Also:
Constant Field Values

NODES_SELECTED_TYPE

public static final int NODES_SELECTED_TYPE
See Also:
Constant Field Values

NODES_UNSELECTED_TYPE

public static final int NODES_UNSELECTED_TYPE
See Also:
Constant Field Values

EDGES_SELECTED_TYPE

public static final int EDGES_SELECTED_TYPE
See Also:
Constant Field Values

EDGES_UNSELECTED_TYPE

public static final int EDGES_UNSELECTED_TYPE
See Also:
Constant Field Values
Constructor Detail

GraphPerspectiveChangeEvent

public GraphPerspectiveChangeEvent(Object source)
The source parameter should be either a RootGraph or a GraphPerspective; see specification of getSource().

See Also:
getSource()
Method Detail

getSource

public final Object getSource()
The Object returned is one of two types - either a GraphPerspective or a RootGraph. The return value is a RootGraph if this event is a NODES_HIDDEN_TYPE or EDGES_HIDDEN_TYPE which resulted from Nodes or Edges being removed from the underlying RootGraph of a GraphPerspective; the return value is a GraphPerspective in all other cases.

Overrides:
getSource in class EventObject

getType

public abstract int getType()

isNodesRestoredType

public abstract boolean isNodesRestoredType()

isEdgesRestoredType

public abstract boolean isEdgesRestoredType()

isNodesHiddenType

public abstract boolean isNodesHiddenType()

isEdgesHiddenType

public abstract boolean isEdgesHiddenType()

isNodesSelectedType

public abstract boolean isNodesSelectedType()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.


isNodesUnselectedType

public abstract boolean isNodesUnselectedType()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.


isEdgesSelectedType

public abstract boolean isEdgesSelectedType()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.


isEdgesUnselectedType

public abstract boolean isEdgesUnselectedType()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.


getRestoredNodes

public abstract Node[] getRestoredNodes()

getRestoredEdges

public abstract Edge[] getRestoredEdges()

getHiddenNodes

public abstract Node[] getHiddenNodes()
Deprecated. Use getHiddenNodeIndices() instead; the nodes returned by this method may have undefined state.

See Also:
getHiddenNodeIndices()

getHiddenEdges

public abstract Edge[] getHiddenEdges()
Deprecated. Use getHiddenEdgeIndices() instead; the edges returned by this method may have undefined state.

See Also:
getHiddenEdgeIndices()

getSelectedNodes

public abstract Node[] getSelectedNodes()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.


getUnselectedNodes

public abstract Node[] getUnselectedNodes()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.


getSelectedEdges

public abstract Edge[] getSelectedEdges()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.


getUnselectedEdges

public abstract Edge[] getUnselectedEdges()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.


getRestoredNodeIndices

public abstract int[] getRestoredNodeIndices()
The integer values in the returned array are RootGraph indices.


getRestoredEdgeIndices

public abstract int[] getRestoredEdgeIndices()
The integer values in the returned array are RootGraph indices.


getHiddenNodeIndices

public abstract int[] getHiddenNodeIndices()
The integer values in the returned array are RootGraph indices.


getHiddenEdgeIndices

public abstract int[] getHiddenEdgeIndices()
The integer values in the returned array are RootGraph indices.


getSelectedNodeIndices

public abstract int[] getSelectedNodeIndices()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node selection logic.


getUnselectedNodeIndices

public abstract int[] getUnselectedNodeIndices()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies node un-selection logic.


getSelectedEdgeIndices

public abstract int[] getSelectedEdgeIndices()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge selection logic.


getUnselectedEdgeIndices

public abstract int[] getUnselectedEdgeIndices()
Deprecated. Nowhere in GraphPerspective is there functionality that specifies edge un-selection logic.


www.cytoscape.org