|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread jwo.landserf.process.LSThread jwo.landserf.process.SelectVectorThread
public class SelectVectorThread
Allows a subset of vector objects to be selected from a vector map.
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 | |
---|---|
SelectVectorThread(GISFrame gisFrame)
Creates an object ready for GISVector object selection but does not perform the selection itself. |
|
SelectVectorThread(GISFrame gisFrame,
String selectionCriteria)
Creates an object that will select objects from a vector map. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Selects the objects from the vector map according to the criteria given in the scripting parameters. |
void |
doProcessing()
Selects objects from the primary vector map according to the selection criteria specified in the constructor or script parameter. |
LSCommand |
getCommand()
Reports the syntax required to allow objects to be selected from vector map via scripting command. |
VectorMap |
getgetNewVectorMap()
Retrieves the vector map containing only the objects that satisfy the selection criteria. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects and messages. |
Object |
getReturnedObject()
Returns a vector map containing only the objects that satisfy the selection criteria. |
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 |
---|
public SelectVectorThread(GISFrame gisFrame)
gisFrame
- Frame holding spatial objects and in which to report results.public SelectVectorThread(GISFrame gisFrame, String selectionCriteria)
gisFrame
- Frame holding spatial objects and in which to report results.selectionCriteria
- Selection criteria. This should be a comma separated
list of attribute values which can include 'n' to
represent null values and 'to' to include ranges of
attribute values.Method Detail |
---|
public void doProcessing()
GISFrame
provided to the constructor and selected as the new
primary vector map. To retrieve it either call getNewVectorMap()
from
this class or call gisFrame.getVectorMap1();
.
doProcessing
in class LSThread
GISFrame
public LSCommand getCommand()
getCommand
in interface Scriptable
public boolean doCommand(LSCommand command)
doCommand
in interface Scriptable
command
- Command containing parameter values.
public Object getReturnedObject()
getNewVectorMap
except that it is compatible with the scriptable interface. If the
command has yet to be issued this will return null.
getReturnedObject
in interface Scriptable
public GISFrame getGISFrame()
getGISFrame
in interface Scriptable
public VectorMap getgetNewVectorMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |