org.graffiti.plugin.algorithm
Class ThreadSafeAlgorithm

java.lang.Object
  extended by org.graffiti.plugin.algorithm.ThreadSafeAlgorithm
All Implemented Interfaces:
Algorithm, Parametrizable

public abstract class ThreadSafeAlgorithm
extends Object
implements Algorithm

DOCUMENT ME!

Version:
$Revision: 5768 $
Author:
$author$

Constructor Summary
ThreadSafeAlgorithm()
           
 
Method Summary
abstract  void executeThreadSafe(ThreadSafeOptions options)
           
 Graph getGraph()
          DOCUMENT ME!
abstract  void resetDataCache(ThreadSafeOptions options)
           
abstract  boolean setControlInterface(ThreadSafeOptions options, JComponent jc)
          DOCUMENT ME!
 String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, execute, getAnimation, reset, supportsAnimation
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getName, getParameters, setParameters
 

Constructor Detail

ThreadSafeAlgorithm

public ThreadSafeAlgorithm()
Method Detail

getGraph

public Graph getGraph()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public String toString()
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!

setControlInterface

public abstract boolean setControlInterface(ThreadSafeOptions options,
                                            JComponent jc)
DOCUMENT ME!

Parameters:
jc -
Returns:
true, if an GUI was set, false if no interface is needed

executeThreadSafe

public abstract void executeThreadSafe(ThreadSafeOptions options)

resetDataCache

public abstract void resetDataCache(ThreadSafeOptions options)


Generated at 2012-05-30 11:00:36 PM CEST