|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for windows that contol GIS raster surfaces 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)
Adds a new raster 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.. |
void |
broadcastFootprint(Footprint fp)
Broadcasts the given footprint to any footprint listeners. |
Frame |
getFrame()
Reports the AWT frame in which this should be embedded. |
GraphicsArea |
getGraphicsArea()
Returns the graphics area used for display of geographic objects. |
PrintUtilities |
getPrintUtilities()
Passes on the printer utilites from the frame. |
RasterMap |
getRaster1()
Returns the primary raster surface associated with the window. |
RasterMap |
getRaster2()
Returns the secondary raster surface associated with the window. |
VectorMap |
getVectorMap1()
Returns the primary vector map associated with the window. |
VectorMap |
getVectorMap2()
Returns the secondary vector map associated with the window. |
boolean |
isExperimental()
Reports whether experimental functionality is available to the GUI. |
void |
redisplay(boolean doRecalc)
Redisplays the contents of the frame. |
void |
removeSpatialObject(SpatialObject spObj)
Removes the given spatial object from those stored by the GISFrame |
void |
setBroadcastPointQuery(boolean queryMode,
FootprintListener fpListener)
Turns broadcast point query mode on or off. |
void |
setBusy(boolean busy)
Indicates that some process has started or stopped. |
void |
setMaxProgress(int maxProgress)
Displays the maximum progress value. |
void |
setMessage(String text)
Displays the given message in frame. |
void |
setMinProgress(int minProgress)
Displays the minimum progress value. |
void |
setProgress(int progress)
Sets the current progress (should be between 0 and 100 unless minimum or maximum progress values have been changed. |
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 to be processed. |
void |
setVectorMap2(VectorMap vectorMap)
Makes the given vector map the secondary one to be processed. |
void |
updateInputGUI()
Updates the window's menu/button items according to what is currently stored or displayed. |
Field Detail |
public static final int NOT_SELECTED
public static final int PRIMARY
public static final int SECONDARY
Method Detail |
public void updateInputGUI()
public void redisplay(boolean doRecalc)
doRecalc
- If true, contents of frame are recalculated, if not, simply repainted.
This allows computationally expensive image recalcuation to be separated from
normal window refreshing.public void broadcastFootprint(Footprint fp)
fp
- Footprint to broadcast.public void addRaster(RasterMap newRast, int selection)
newRast
- new Raster to add.selection
- Selection type (PRIMARY, SECONDARY or NOT_SELECTED).public void addVectorMap(VectorMap newVect, int selection)
newVect
- new vector map to add.selection
- Selection type (PRIMARY or NOT_SELECTED).public void removeSpatialObject(SpatialObject spObj)
spObj
- Spatial object to remove.public RasterMap getRaster1()
public RasterMap getRaster2()
public GraphicsArea getGraphicsArea()
public VectorMap getVectorMap1()
public VectorMap getVectorMap2()
public Frame getFrame()
public PrintUtilities getPrintUtilities()
public boolean isExperimental()
public void setBusy(boolean busy)
busy
- Busy if true.public void setRaster1(RasterMap raster)
raster
- New primary raster to be associated with this window.public void setRaster2(RasterMap raster)
raster
- New secondary raster to be associated with this window.public void setVectorMap1(VectorMap vectorMap)
vectorMap
- New primary vector map to be associated with this window.public void setVectorMap2(VectorMap vectorMap)
vectorMap
- New secondary vector map to be associated with this window.public void setBroadcastPointQuery(boolean queryMode, FootprintListener fpListener)
queryMode
- Point query mode is on if true, otherwise off.public void setMessage(String text)
text
- Message to display.public void setMinProgress(int minProgress)
minProgress
- Minimum progress value.public void setMaxProgress(int maxProgress)
maxProgress
- Maximum progress value.public void setProgress(int progress)
progress
- progress value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |