nct.visualization.cytoscape.dual
Class DualLayoutTask

java.lang.Object
  extended by java.lang.Thread
      extended by nct.visualization.cytoscape.dual.DualLayoutTask
All Implemented Interfaces:
java.lang.Runnable

public class DualLayoutTask
extends java.lang.Thread

The Thread that does the actual DualLayout calculations.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DualLayoutTask(cytoscape.CyNetwork sifNetwork)
           
 
Method Summary
 void layoutNetwork(phoebe.PGraphView view)
          Creates the layout of the network using the SpringEmbeddedLayouter.
 void splitNetwork(cytoscape.CyNetwork splitNetwork)
          Separates the network nodes into their constituent parts and creates the homology edges between them.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DualLayoutTask

public DualLayoutTask(cytoscape.CyNetwork sifNetwork)
Parameters:
sifNetwork - A subgraph of the compatability graph that is a conserved complex.
Method Detail

layoutNetwork

public void layoutNetwork(phoebe.PGraphView view)
Creates the layout of the network using the SpringEmbeddedLayouter.

Parameters:
view - The graph view used for creating the layout.

splitNetwork

public void splitNetwork(cytoscape.CyNetwork splitNetwork)
Separates the network nodes into their constituent parts and creates the homology edges between them.

Parameters:
splitNetwork - The network to be separated.