jwo.landserf.process
Class DispThread

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

public class DispThread
extends LSThread

Displays the current spatial objects in the GIS frame.

Version:
2.2, 10th May, 2003.
Author:
Jo Wood

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, setMessage
 
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
 

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-2005, last modified, 11th March, 2005