javax.swing.plaf.basic
Class BasicDirectoryModel.LoadFilesThread

java.lang.Object
  extended byjava.lang.Thread
      extended byjavax.swing.plaf.basic.BasicDirectoryModel.LoadFilesThread
All Implemented Interfaces:
Runnable
Enclosing class:
BasicDirectoryModel

class BasicDirectoryModel.LoadFilesThread
extends Thread


Field Summary
(package private)  File currentDirectory
           
(package private)  int fid
           
(package private)  Vector runnables
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BasicDirectoryModel.LoadFilesThread(File currentDirectory, int fid)
           
 
Method Summary
 void cancelRunnables(Vector runnables)
           
private  void invokeLater(Runnable runnable)
           
 void run()
          If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Field Detail

currentDirectory

File currentDirectory

fid

int fid

runnables

Vector runnables
Constructor Detail

BasicDirectoryModel.LoadFilesThread

public BasicDirectoryModel.LoadFilesThread(File currentDirectory,
                                           int fid)
Method Detail

invokeLater

private void invokeLater(Runnable runnable)

run

public void run()
Description copied from class: Thread
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.

Subclasses of Thread should override this method.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.start(), Thread.stop(), Thread.Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String), Runnable.run()

cancelRunnables

public void cancelRunnables(Vector runnables)