dods.clients.importwizard
Class URLBuilder.InterfaceCreator

java.lang.Object
  extended by java.lang.Thread
      extended by dods.clients.importwizard.URLBuilder.InterfaceCreator
All Implemented Interfaces:
ActionListener, Runnable, EventListener
Enclosing class:
URLBuilder

public class URLBuilder.InterfaceCreator
extends Thread
implements ActionListener

This class is used to create interfaces to dods inventory URLs in a non-blocking manner.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
URLBuilder.InterfaceCreator(DodsURL url)
          Create an InterfaceCreator
 
Method Summary
 void actionPerformed(ActionEvent e)
          The function to handle action events.
 JPanel createTempPanel()
          Create a temporary panel that can be displayed while the interface is being created.
 void run()
          Creates the interface, and adds it to the main panel when it's done.
 
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

URLBuilder.InterfaceCreator

public URLBuilder.InterfaceCreator(DodsURL url)
Create an InterfaceCreator

Parameters:
url - The url to create an interface for.
Method Detail

run

public void run()
Creates the interface, and adds it to the main panel when it's done.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

actionPerformed

public void actionPerformed(ActionEvent e)
The function to handle action events.

Specified by:
actionPerformed in interface ActionListener

createTempPanel

public JPanel createTempPanel()
Create a temporary panel that can be displayed while the interface is being created.

Returns:
A temporary panel to show while the interface is being created.