|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjwo.landserf.gui.GISFrameAdapter
public class GISFrameAdapter
An adapter class for creating GISFrames. The methods in this class are empty. This class exists as convenience for GISFrames. Extend this class to create a GISFrame and override the methods for the behaviour of interest.
| Field Summary |
|---|
| Fields inherited from interface jwo.landserf.gui.GISFrame |
|---|
NOT_SELECTED, PRIMARY, SECONDARY |
| Constructor Summary | |
|---|---|
GISFrameAdapter(Frame parent)
Creates a new GISFrame with the given parent. |
|
| Method Summary | |
|---|---|
void |
addRaster(RasterMap newRast,
int selection)
Would add a new raster to the collection stored in this GISFame, but ignored in this case. |
void |
addVectorMap(VectorMap newVect,
int selection)
Would add a new vector map to the collection stored in this GISFrame, but ignored in this case. |
void |
broadcastFootprint(Footprint fp)
Would broadcast the given footprint to any footprint listeners, but does nothing in this case. |
Frame |
getFrame()
Reports the AWT frame in which this should be embedded. |
GraphicsArea |
getGraphicsArea()
Would return the graphics area used for display of geographic objects, but ignored in this case. |
PrintUtilities |
getPrintUtilities()
Would pass on the printer utilities from the frame, but ignored in this case. |
RasterMap |
getRaster1()
Would return the primary raster surface associated with this GISFrame, but does nothing in this case. |
RasterMap |
getRaster2()
Would return the secondary raster surface associated with this GISFrame, but ignored in this case. |
Vector |
getRasterMaps()
Would return a collection of all the stored raster maps associated with this GISFrame, but ignored in this case. |
VectorMap |
getVectorMap1()
Would return the primary vector map associated with this GISFrame, but ignored in this case. |
VectorMap |
getVectorMap2()
Would return the secondary vector map associated with this GISFrame, but ignored in this case. |
Vector |
getVectorMaps()
Would return a collection of all the stored vector maps associated with this GISFrame, but ignored in this case. |
boolean |
isExperimental()
Reports whether experimental functionality is available to the GUI. |
void |
redisplay(boolean doRecalc)
Would redisplay the contents of this frame, but ignored in this case. |
void |
removeSpatialObject(SpatialObject spObj)
Would remove the given spatial object from those stored by this GISFrame but does nothing in this case. |
void |
removeSpatialObjects()
Would clear all stored objects from the GISFrame but does nothing in this case. |
void |
setBroadcastPointQuery(boolean queryMode,
FootprintListener fpListener)
Would turn broadcast point query mode on or off, but ignored in this case. |
void |
setBusy(boolean busy)
Would indicate that some process has started or stopped, but ignored in this case. |
void |
setMaxProgress(int maxProgress)
Would display the maximum progress value, but does nothing in this case. |
void |
setMessage(String text)
Displays the given message,in this case to standard output. |
void |
setMinProgress(int minProgress)
Would display the minimum progress value, but does nothing in this case. |
void |
setProgress(int progress)
Would set the current progress (should be between 0 and 100 unless minimum or maximum progress values have been changed. |
void |
setRaster1(RasterMap raster)
Would make the given raster surface the primary one to be processed, but ignored in this case. |
void |
setRaster2(RasterMap raster)
Would make the given raster surface the secondary one to be processed, but ignored in this case. |
void |
setVectorMap1(VectorMap vectorMap)
Would makes the given vector map the primary one associated with this GISFrame, but ignored in this case. |
void |
setVectorMap2(VectorMap vectorMap)
Would make the given vector map the primary one associated with this GISFrame but ignored in this case. |
void |
updateInputGUI()
Would update this frame's menu/button items according to what is currently stored or displayed, but ignored in this case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GISFrameAdapter(Frame parent)
parent - Parent frame.| Method Detail |
|---|
public void updateInputGUI()
updateInputGUI in interface GISFramepublic void redisplay(boolean doRecalc)
redisplay in interface GISFramedoRecalc - If true, contents of frame can be recalculated, but ignored in this case.
public void addRaster(RasterMap newRast,
int selection)
addRaster in interface GISFramenewRast - new Raster to add.selection - Selection type (PRIMARY, SECONDARY or NOT_SELECTED).
public void addVectorMap(VectorMap newVect,
int selection)
addVectorMap in interface GISFramenewVect - new vector map to add.selection - Selection type (PRIMARY, SECONDARY or NOT_SELECTED).public void removeSpatialObject(SpatialObject spObj)
removeSpatialObject in interface GISFramespObj - Spatial object to remove (ignored).public void removeSpatialObjects()
removeSpatialObjects in interface GISFramepublic RasterMap getRaster1()
getRaster1 in interface GISFramepublic RasterMap getRaster2()
getRaster2 in interface GISFramepublic Vector getRasterMaps()
getRasterMaps in interface GISFramepublic GraphicsArea getGraphicsArea()
getGraphicsArea in interface GISFramepublic VectorMap getVectorMap1()
getVectorMap1 in interface GISFramepublic VectorMap getVectorMap2()
getVectorMap2 in interface GISFramepublic Vector getVectorMaps()
getVectorMaps in interface GISFramepublic Frame getFrame()
getFrame in interface GISFramepublic PrintUtilities getPrintUtilities()
getPrintUtilities in interface GISFramepublic boolean isExperimental()
isExperimental in interface GISFramepublic void setRaster1(RasterMap raster)
setRaster1 in interface GISFrameraster - New primary raster to be associated with this GISFrame.public void setRaster2(RasterMap raster)
setRaster2 in interface GISFrameraster - New secondary raster to be associated with this GISFrame.public void setVectorMap1(VectorMap vectorMap)
setVectorMap1 in interface GISFramevectorMap - New vector map to be associated with this GISFrame.public void setVectorMap2(VectorMap vectorMap)
setVectorMap2 in interface GISFramevectorMap - New vector map to be associated with this GISFrame.public void setMessage(String text)
setMessage in interface GISFrametext - Message to display.public void setMinProgress(int minProgress)
setMinProgress in interface GISFrameminProgress - Minimum progress value.public void setMaxProgress(int maxProgress)
setMaxProgress in interface GISFramemaxProgress - Maximum progress value.public void setProgress(int progress)
setProgress in interface GISFrameprogress - progress value.public void broadcastFootprint(Footprint fp)
broadcastFootprint in interface GISFramefp - Footprint to broadcast.public void setBusy(boolean busy)
setBusy in interface GISFramebusy - Busy if true.
public void setBroadcastPointQuery(boolean queryMode,
FootprintListener fpListener)
setBroadcastPointQuery in interface GISFramequeryMode - Point query mode is on if true, otherwise off.fpListener - Class to be informed of query.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||