|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.JoinVectorThread
public class JoinVectorThread
Joins any lines in a vector map. This class can be useful when defragmenting a patchy GPS track or a multi-session digitization of a line.
| 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 | |
|---|---|
JoinVectorThread(GISFrame gisFrame)
Creates an object that will join vector lines. |
|
| Method Summary | |
|---|---|
boolean |
doCommand(LSCommand command)
Joins the lines in the vector map specified in the given scripting parameters. |
void |
doProcessing()
Joins the lines in the primary vector map. |
LSCommand |
getCommand()
Reports the syntax required to allow the lines in a vector map to be joined via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects and messages. |
VectorMap |
getJoinedVectorMap()
Retrieves the vector map containing the joined lines. |
Object |
getReturnedObject()
Returns the newly created vector map with joined lines. |
| 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 JoinVectorThread(GISFrame gisFrame)
gisFrame - Frame holding spatial objects and in which to report results.| Method Detail |
|---|
public void doProcessing()
GISFrame provided to the constructor and selected as the primary
vector map. To retrieve it either call getJoinedVectorMap() from this
class or call gisFrame.getVectorMap1();.
doProcessing in class LSThreadGISFramepublic LSCommand getCommand()
getCommand in interface Scriptablepublic boolean doCommand(LSCommand command)
doCommand in interface Scriptablecommand - Command containing parameter values.
public Object getReturnedObject()
getJoinedVectorMap except that it is compatible with the scripable
interface. If command has yet to be issued this will return null.
getReturnedObject in interface Scriptablepublic GISFrame getGISFrame()
getGISFrame in interface Scriptablepublic VectorMap getJoinedVectorMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||