|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.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()
|
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. |
VectorMap |
getVectorMap1()
Returns the primary vector map associated with the GISFrame. |
VectorMap |
getVectorMap2()
Returns the secondary vector map associated with the GISFrame. |
void |
setRaster1(RasterMap raster)
Makes the given raster surface the primary one to be processed. |
void |
setRaster2(RasterMap raster)
Makes the given raster surface the secondary one to be processed. |
void |
setVectorMap1(VectorMap vectorMap)
Makes the given vector map the primary one associated with the window. |
void |
setVectorMap2(VectorMap vectorMap)
Makes the given vector map the secondary one associated with the window. |
Methods inherited from class jwo.landserf.gui.GISFrameAdapter |
broadcastFootprint, getFrame, getGraphicsArea, getPrintUtilities, isExperimental, redisplay, removeSpatialObject, 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 setRaster1(RasterMap raster)
setRaster1
in interface GISFrame
setRaster1
in class GISFrameAdapter
raster
- New primary raster to be associated with this window.public void setRaster2(RasterMap raster)
setRaster2
in interface GISFrame
setRaster2
in class GISFrameAdapter
raster
- New secondary raster to be associated with this window.public void setVectorMap1(VectorMap vectorMap)
setVectorMap1
in interface GISFrame
setVectorMap1
in class GISFrameAdapter
vectorMap
- New vector map to be associated with this window.public void setVectorMap2(VectorMap vectorMap)
setVectorMap2
in interface GISFrame
setVectorMap2
in class GISFrameAdapter
vectorMap
- New vector map to be associated with this window.public RasterMap getRaster1()
getRaster1
in interface GISFrame
getRaster1
in class GISFrameAdapter
public RasterMap getRaster2()
getRaster2
in interface GISFrame
getRaster2
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |