|
|||||||||
| 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.OpenThread
public class OpenThread
Opens a spatial file and places contents into a spatial object.
| 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 | |
|---|---|
OpenThread(GISFrame gisFrame)
Creates an object ready for opening but does not open any files. |
|
OpenThread(GISFrame gisFrame,
File[] inFiles)
Attempts to open the relevant spatial object file(s). |
|
OpenThread(GISFrame gisFrame,
File[] inFiles,
int fileType,
int position)
Opens the relevant spatial object file(s). |
|
| Method Summary | |
|---|---|
boolean |
doCommand(LSCommand command)
Opens the file specified in the given scripting parameters. |
void |
doProcessing()
Opens the spatial object file(s) requested. |
LSCommand |
getCommand()
Reports the syntax required to allow files to be opened via a scripting command. |
GISFrame |
getGISFrame()
Retrieves the GISFrame that can be used for storing multiple spatial objects. |
Object |
getReturnedObject()
Returns a spatial object that has been opened via scripting command. |
| 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 OpenThread(GISFrame gisFrame)
gisFrame - Frame holding spatial objects and in which to report results.
public OpenThread(GISFrame gisFrame,
File[] inFiles)
.txt).
gisFrame - Frame holding spatial objects and in which to report results.inFiles - File(s) to open.
public OpenThread(GISFrame gisFrame,
File[] inFiles,
int fileType,
int position)
gisFrame - Frame holding spatial objects and in which to report results.inFiles - File(s) to open.fileType - Type of file to open.position - Object selection type. Either GISFrame.PRIMARY, GISFrame.SECONDARY, GISFrame.NOT_SELECTED.| Method Detail |
|---|
public void doProcessing()
GISFrame supplied to the constructor.
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()
getReturnedObject in interface Scriptablepublic GISFrame getGISFrame()
getGISFrame in interface Scriptable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||