|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjwo.landserf.gui.GISFrameAdapter
jwo.landserf.gui.SimpleGISFrame
public class SimpleGISFrame
A simple implementation of a GISFrame for small footprint GUIs that need to take advantage of GISFrame functionality.
| Field Summary |
|---|
| Fields inherited from interface jwo.landserf.gui.GISFrame |
|---|
NOT_SELECTED, PRIMARY, SECONDARY |
| Constructor Summary | |
|---|---|
SimpleGISFrame()
Creates a simple GISFrame that can hold a collection of spatial objects. |
|
| Method Summary | |
|---|---|
void |
addRaster(RasterMap newRast)
Adds a new primary raster to the collection stored in the GIS frame. |
void |
addRaster(RasterMap newRast,
int selection)
Adds a new raster to the collection stored in the GIS frame. |
void |
addVectorMap(VectorMap newVect)
Adds a new primary vector map to the collection stored in the GIS frame. |
void |
addVectorMap(VectorMap newVect,
int selection)
Adds a new vector map to the collection stored in the GIS frame. |
RasterMap |
getRaster1()
Returns the primary raster associated with the GISFrame. |
RasterMap |
getRaster2()
Returns the secondary raster associated with the GISFrame. |
Vector |
getRasterMaps()
Returns a collection of all the stored raster maps associated with this GISFrame. |
VectorMap |
getVectorMap1()
Returns the primary vector map associated with the GISFrame. |
VectorMap |
getVectorMap2()
Returns the secondary vector map associated with the GISFrame. |
Vector |
getVectorMaps()
Returns a collection of all the stored vector maps associated with this GISFrame. |
void |
removeSpatialObject(SpatialObject spObj)
Removes the given spatial object from those stored by this GISFrame |
void |
removeSpatialObjects()
Clears all stored objects from the GISFrame. |
void |
setRaster1(RasterMap raster)
Makes the given raster map the primary one to be processed. |
void |
setRaster2(RasterMap raster)
Makes the given raster map the secondary one to be processed. |
void |
setVectorMap1(VectorMap vectorMap)
Makes the given vector map the primary one associated with this GISFrame. |
void |
setVectorMap2(VectorMap vectorMap)
Makes the given vector map the secondary one associated with this GISFrame. |
| Methods inherited from class jwo.landserf.gui.GISFrameAdapter |
|---|
broadcastFootprint, getFrame, getGraphicsArea, getPrintUtilities, isExperimental, redisplay, setBroadcastPointQuery, setBusy, setMaxProgress, setMessage, setMinProgress, setProgress, updateInputGUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleGISFrame()
| Method Detail |
|---|
public void addRaster(RasterMap newRast)
newRast - new Raster to add.
public void addRaster(RasterMap newRast,
int selection)
addRaster in interface GISFrameaddRaster in class GISFrameAdapternewRast - new Raster to add.selection - Selection type (PRIMARY or SECONDARY).public void addVectorMap(VectorMap newVect)
newVect - new vector map to add.
public void addVectorMap(VectorMap newVect,
int selection)
addVectorMap in interface GISFrameaddVectorMap in class GISFrameAdapternewVect - new vector map to add.selection - Selection type (PRIMARY or SECONDARY.public void removeSpatialObjects()
removeSpatialObjects in interface GISFrameremoveSpatialObjects in class GISFrameAdapterpublic void removeSpatialObject(SpatialObject spObj)
removeSpatialObject in interface GISFrameremoveSpatialObject in class GISFrameAdapterspObj - Spatial object to remove.public void setRaster1(RasterMap raster)
setRaster1 in interface GISFramesetRaster1 in class GISFrameAdapterraster - New primary raster to be associated with this GISFrame.public void setRaster2(RasterMap raster)
setRaster2 in interface GISFramesetRaster2 in class GISFrameAdapterraster - New secondary raster to be associated with this GISFrame.public void setVectorMap1(VectorMap vectorMap)
setVectorMap1 in interface GISFramesetVectorMap1 in class GISFrameAdaptervectorMap - New primary vector map to be associated with this GISFrame.public void setVectorMap2(VectorMap vectorMap)
setVectorMap2 in interface GISFramesetVectorMap2 in class GISFrameAdaptervectorMap - New secondary vector map to be associated with this GISFrame.public RasterMap getRaster1()
getRaster1 in interface GISFramegetRaster1 in class GISFrameAdapterpublic RasterMap getRaster2()
getRaster2 in interface GISFramegetRaster2 in class GISFrameAdapterpublic Vector getRasterMaps()
getRasterMaps in interface GISFramegetRasterMaps in class GISFrameAdapterpublic VectorMap getVectorMap1()
getVectorMap1 in interface GISFramegetVectorMap1 in class GISFrameAdapterpublic VectorMap getVectorMap2()
getVectorMap2 in interface GISFramegetVectorMap2 in class GISFrameAdapterpublic Vector getVectorMaps()
getVectorMaps in interface GISFramegetVectorMaps in class GISFrameAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||