|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GISFrame
Interface for windows that control GIS raster and vector maps.
Field Summary | |
---|---|
static int |
NOT_SELECTED
Indicates spatial object is not selected for processing. |
static int |
PRIMARY
Indicates spatial object is the primary one for processing. |
static int |
SECONDARY
Indicates spatial object is the secondary one for processing. |
Method Summary | |
---|---|
void |
addRaster(RasterMap newRast,
int selection)
Should add a new raster to the collection stored in this GISFrame. |
void |
addVectorMap(VectorMap newVect,
int selection)
Should add a new vector map to the collection stored in this GISFrame. |
void |
broadcastFootprint(Footprint fp)
Should broadcast the given footprint to any footprint listeners. |
Frame |
getFrame()
Should report the AWT frame in which this should be embedded. |
GraphicsArea |
getGraphicsArea()
Should return the graphics area used for display of geographic objects. |
PrintUtilities |
getPrintUtilities()
Should pass on the printer utilities from the frame. |
RasterMap |
getRaster1()
Should return the primary raster surface associated with this GISFrame. |
RasterMap |
getRaster2()
Should return the secondary raster surface associated with this GISFrame. |
Vector |
getRasterMaps()
Should return a collection of all the stored raster maps associated with the GISFrame. |
VectorMap |
getVectorMap1()
Should return the primary vector map associated with this GISFrame. |
VectorMap |
getVectorMap2()
Should return the secondary vector map associated with this GISFrame. |
Vector |
getVectorMaps()
Should return a collection of all the stored vector maps associated with this GISFrame. |
boolean |
isExperimental()
Should report whether experimental functionality is available to the GUI. |
void |
redisplay(boolean doRecalc)
Should redisplay the contents of this GISFrame. |
void |
removeSpatialObject(SpatialObject spObj)
Should remove the given spatial object from those stored by this GISFrame. |
void |
removeSpatialObjects()
Should clear all stored objects from the GISFrame. |
void |
setBroadcastPointQuery(boolean queryMode,
FootprintListener fpListener)
Should turn broadcast point query mode on or off. |
void |
setBusy(boolean busy)
Should indicate that some process has started or stopped. |
void |
setMaxProgress(int maxProgress)
Should set the maximum progress value. |
void |
setMessage(String text)
Should display the given message in frame. |
void |
setMinProgress(int minProgress)
Should set the minimum progress value. |
void |
setProgress(int progress)
Should set display the current progress (should be between 0 and 100 unless minimum or maximum progress values have been changed. |
void |
setRaster1(RasterMap raster)
Should make the given raster surface the primary one to be processed. |
void |
setRaster2(RasterMap raster)
Should make the given raster surface the secondary one to be processed. |
void |
setVectorMap1(VectorMap vectorMap)
Should make the given vector map the primary one to be processed. |
void |
setVectorMap2(VectorMap vectorMap)
Should make the given vector map the secondary one to be processed. |
void |
updateInputGUI()
Should update this GISFrame's user interface according to what is currently stored or displayed. |
Field Detail |
---|
static final int NOT_SELECTED
static final int PRIMARY
static final int SECONDARY
Method Detail |
---|
void updateInputGUI()
void redisplay(boolean doRecalc)
doRecalc
- If true, contents of frame are recalculated, if not, simply repainted.
This allows computationally expensive image recalculation to be separated from
normal window refreshing.void broadcastFootprint(Footprint fp)
fp
- Footprint to broadcast.void addRaster(RasterMap newRast, int selection)
newRast
- new Raster to add.selection
- Selection type (PRIMARY, SECONDARY or NOT_SELECTED).void addVectorMap(VectorMap newVect, int selection)
newVect
- new vector map to add.selection
- Selection type (PRIMARY or NOT_SELECTED).void removeSpatialObject(SpatialObject spObj)
spObj
- Spatial object to remove.void removeSpatialObjects()
RasterMap getRaster1()
RasterMap getRaster2()
Vector getRasterMaps()
GraphicsArea getGraphicsArea()
VectorMap getVectorMap1()
VectorMap getVectorMap2()
Vector getVectorMaps()
Frame getFrame()
PrintUtilities getPrintUtilities()
boolean isExperimental()
void setBusy(boolean busy)
busy
- Busy if true.void setRaster1(RasterMap raster)
raster
- New primary raster to be associated with this GISFrame.void setRaster2(RasterMap raster)
raster
- New secondary raster to be associated with this GISFrame.void setVectorMap1(VectorMap vectorMap)
vectorMap
- New primary vector map to be associated with this GISFrame.void setVectorMap2(VectorMap vectorMap)
vectorMap
- New secondary vector map to be associated with this GISFrame.void setBroadcastPointQuery(boolean queryMode, FootprintListener fpListener)
queryMode
- Point query mode is on if true, otherwise off.fpListener
- Class to be informed of query.void setMessage(String text)
text
- Message to display.void setMinProgress(int minProgress)
minProgress
- Minimum progress value.void setMaxProgress(int maxProgress)
maxProgress
- Maximum progress value.void setProgress(int progress)
progress
- progress value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |