jwo.landserf.process
Class DispThread

java.lang.Object
  extended by java.lang.Thread
      extended by jwo.landserf.process.LSThread
          extended by jwo.landserf.process.DispThread
All Implemented Interfaces:
Runnable, JWInterruptionListener

public class DispThread
extends LSThread

Displays the current spatial objects in the GIS frame.

Version:
2.3, 17th July, 2006.
Author:
Jo Wood

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
DispThread(GISFrame gisFrame, boolean displayVector)
          Displays the currently selected vector map in the given GISFrame.
DispThread(GISFrame gisFrame, int type)
          (Re)displays the currently selected raster(s) in the given GISFrame.
 
Method Summary
 void doProcessing()
          Displays the currently selected primary spatial objects in the GISFrame provided to the constructor as a threaded process.
 
Methods inherited from class jwo.landserf.process.LSThread
checkStoppedThread, interruptionRequested, resetTimer, run, setErrorMessage, setFinalMessage, setMessage
 
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

DispThread

public DispThread(GISFrame gisFrame,
                  int type)
(Re)displays the currently selected raster(s) in the given GISFrame.

Parameters:
gisFrame - Frame identifying rasters.
type - Type of display to invoke (clear, relief, etc).

DispThread

public DispThread(GISFrame gisFrame,
                  boolean displayVector)
Displays the currently selected vector map in the given GISFrame.

Parameters:
gisFrame - Frame identifying vector map.
displayVector - Displays vector map if true.
Method Detail

doProcessing

public void doProcessing()
Displays the currently selected primary spatial objects in the GISFrame provided to the constructor as a threaded process.

Specified by:
doProcessing in class LSThread


Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009