jwo.landserf.process
Class DeleteThread
java.lang.Object
java.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.DeleteThread
- All Implemented Interfaces:
- Runnable, JWInterruptionListener
public class DeleteThread
- extends LSThread
Deletes a spatial object from the GISFrame.
- Version:
- 2.3, 17th July, 2006.
- Author:
- Jo Wood
Method Summary |
void |
doProcessing()
Deletes the spatial object(s) requested from the GISFrame
provided to the constructor. |
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 |
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.
doProcessing
public void doProcessing()
- Deletes the spatial object(s) requested from the
GISFrame
provided to the constructor. This method can be called directly, or indirectly
by running this as a threaded process (e.g. myDeleteThread.start()
).
- Specified by:
doProcessing
in class LSThread
Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009