com.rapidminer.gui
Class ProcessThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.rapidminer.gui.ProcessThread
All Implemented Interfaces:
java.lang.Runnable

public class ProcessThread
extends java.lang.Thread

A Thread for running an process in the RapidMinerGUI. This thread is necessary in order to keep the GUI running (and working). Please note that this class can only be used from a running RapidMiner GUI since several dependencies to the class RapidMinerGUI and MainFrame exist. If you want to perform an process in its own thread from your own program simply use a Java Thread peforming the method process.run() in its run()-method.

Author:
Ingo Mierswa, Simon Fischer Exp $

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
ProcessThread(Process process)
           
 
Method Summary
static void beep(java.lang.String reason)
           
 void run()
           
 void stopProcess()
           
 java.lang.String toString()
           
 
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessThread

public ProcessThread(Process process)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

beep

public static void beep(java.lang.String reason)

stopProcess

public void stopProcess()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Thread


Copyright © 2001-2009 by Rapid-I