jwo.landserf.process
Class DeleteThread

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

public class DeleteThread
extends LSThread

Deletes a spatial object from the GISFrame.

Version:
2.1, 3rd September, 2004.
Author:
Jo Wood

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DeleteThread(GISFrame gisFrame, SpatialObject spObj)
          Deletes the given spatial object.
DeleteThread(GISFrame gisFrame, Vector spObjects)
          Deletes the spatial objects stored in the given collection.
 
Method Summary
 void doProcessing()
          Deletes the spatial object(s) requested.
 
Methods inherited from class jwo.landserf.process.LSThread
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

DeleteThread

public DeleteThread(GISFrame gisFrame,
                    SpatialObject spObj)
Deletes the given spatial object.

Parameters:
gisFrame - Frame holding spatial objects and in which to report results.
spObj - Spatial object to delete.

DeleteThread

public DeleteThread(GISFrame gisFrame,
                    Vector spObjects)
Deletes the spatial objects stored in the given collection.

Parameters:
gisFrame - Frame holding spatial objects and in which to report results.
spObjects - Collection of spatial objects to delete.
Method Detail

doProcessing

public void doProcessing()
Deletes the spatial object(s) requested.

Specified by:
doProcessing in class LSThread


Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004