|
|||||||||
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.SaveThread
public class SaveThread
Saves the currently selected spatial object(s) in the given format.
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 | |
---|---|
SaveThread(GISFrame gisFrame)
Creates an object ready for saving but does not save any files. |
|
SaveThread(GISFrame gisFrame,
String outFile,
int fileType)
Creates an object ready for saving the current spatial object (defined in gisFrame) with the given name and in the given format. |
|
SaveThread(GISFrame gisFrame,
VectorStyles vectorStyles)
Creates an object ready for saving but does not save any files. |
Method Summary | |
---|---|
boolean |
doCommand(LSCommand command)
Saves the file specified in the given scripting parameters. |
void |
doProcessing()
Does the file conversion and saving. |
LSCommand |
getCommand()
Reports the syntax required to allow files to be saved via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects and reporting messages. |
Object |
getReturnedObject()
Always returns null since saving a spatial object does not create any new objects. |
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 SaveThread(GISFrame gisFrame)
gisFrame
- Frame in which to report results.public SaveThread(GISFrame gisFrame, VectorStyles vectorStyles)
gisFrame
- Frame in which to report results.vectorStyles
- Vector style settings for saving drawn images.public SaveThread(GISFrame gisFrame, String outFile, int fileType)
gisFrame
- GISFrame to report results to and get spatial object from.outFile
- Name of file to save.fileType
- Type of file format to save as.Method Detail |
---|
public void doProcessing()
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()
getReturnedObject
in interface Scriptable
public GISFrame getGISFrame()
getGISFrame
in interface Scriptable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |