|
||||||||||
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
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 |
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 GISFrame
addRaster
in class GISFrameAdapter
newRast
- 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 GISFrame
addVectorMap
in class GISFrameAdapter
newVect
- new vector map to add.selection
- Selection type (PRIMARY or SECONDARY.public void removeSpatialObject(SpatialObject spObj)
removeSpatialObject
in interface GISFrame
removeSpatialObject
in class GISFrameAdapter
spObj
- Spatial object to remove.public void setRaster1(RasterMap raster)
setRaster1
in interface GISFrame
setRaster1
in class GISFrameAdapter
raster
- New primary raster to be associated with this GISFrame.public void setRaster2(RasterMap raster)
setRaster2
in interface GISFrame
setRaster2
in class GISFrameAdapter
raster
- New secondary raster to be associated with this GISFrame.public void setVectorMap1(VectorMap vectorMap)
setVectorMap1
in interface GISFrame
setVectorMap1
in class GISFrameAdapter
vectorMap
- New primary vector map to be associated with this GISFrame.public void setVectorMap2(VectorMap vectorMap)
setVectorMap2
in interface GISFrame
setVectorMap2
in class GISFrameAdapter
vectorMap
- New secondary vector map to be associated with this GISFrame.public RasterMap getRaster1()
getRaster1
in interface GISFrame
getRaster1
in class GISFrameAdapter
public RasterMap getRaster2()
getRaster2
in interface GISFrame
getRaster2
in class GISFrameAdapter
public Vector getRasterMaps()
getRasterMaps
in interface GISFrame
getRasterMaps
in class GISFrameAdapter
public VectorMap getVectorMap1()
getVectorMap1
in interface GISFrame
getVectorMap1
in class GISFrameAdapter
public VectorMap getVectorMap2()
getVectorMap2
in interface GISFrame
getVectorMap2
in class GISFrameAdapter
public Vector getVectorMaps()
getVectorMaps
in interface GISFrame
getVectorMaps
in class GISFrameAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |