biggests.gui
Class ThreadDownloadGOFiles

java.lang.Object
  extended by java.lang.Thread
      extended by biggests.gui.ThreadDownloadGOFiles
All Implemented Interfaces:
java.lang.Runnable

public class ThreadDownloadGOFiles
extends java.lang.Thread

Title: Download gene ontology files thread

Description: Thread to download gene ontology files from www.geneontology.org (long time consuming task) while displaying a progress bar dialog to the user. This task always preceeds function analysis, so when download of gene ontology files finishes, this thread also calls a method to apply biclustering and function analysis algorithms.

Copyright: Copyright (C) 2007 Joana Gonçalves This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


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
ThreadDownloadGOFiles(BiggestsFrame frame, PanelFunctionAnalysis panel, java.lang.String filename)
          Creates a new thread to download a gene ontology/association file.
 
Method Summary
 void run()
          Overrides Thread's run method.
 
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, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadDownloadGOFiles

public ThreadDownloadGOFiles(BiggestsFrame frame,
                             PanelFunctionAnalysis panel,
                             java.lang.String filename)
Creates a new thread to download a gene ontology/association file.

Parameters:
frame - BiggestsFrame the application's main frame, which contains the URLs of gene ontology/association files
panel - PanelFunctionAnalysis the function analysis panel for which the file will be downloaded
filename - String the name of the file to download
Method Detail

run

public void run()
Overrides Thread's run method. Performs the actual task of this working thread (download a gene ontology/association file).

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Thread.run()