com.partnersoft.maps.render
Class RenderController
java.lang.Object
com.partnersoft.maps.render.RenderController
public class RenderController
- extends java.lang.Object
Manages the render process, including refreshing dirty areas and layers.
- Author:
- Paul Reavis Copyright 2004 Partner Software, Inc.
|
Method Summary |
void |
drawScaleAndNorthArrow()
|
void |
ephemeraLayerChanged()
|
void |
frameChanged()
|
boolean |
getDrawScaleAndNorthArrow()
|
double |
getFrameCount()
Get the global average frame count. |
double |
getRecentFrameCount()
Get the recent (last 100 frames) average frame count. |
DrawingSurface |
getSurface()
|
boolean |
isPrinting()
|
void |
legendChanged()
|
void |
rasterLayerChanged()
|
void |
regionChanged(double x,
double y,
double width,
double height)
|
void |
regionChangedPixels(int pixelX,
int pixelY,
int pixelWidth,
int pixelHeight)
|
void |
render()
|
void |
renderDataItem(RoverSet dataset,
int dataID,
int renderMode)
|
void |
scaleChanged()
|
java.util.ArrayList |
select(double x,
double y,
int pixelX,
int pixelY)
|
void |
setCurrentIndications(java.util.ArrayList items)
|
void |
setCurrentSelection(MapDataItem item)
|
void |
setDrawScaleAndNorthArrow(boolean tizit)
|
void |
setLegendName(java.lang.String newLegendName)
|
void |
setMapViewFrame(MapViewFrame newFrame)
|
void |
setPrinting(boolean tizit)
|
void |
setRubberband(Line newRubberband)
|
void |
setSurface(DrawingSurface surface)
|
void |
setWheelMenu(WheelMenu newMenu)
|
void |
vectorLayerChanged()
|
void |
viewDirty()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.apache.log4j.Logger logger
USE_DISPLAY_LISTS
public static final boolean USE_DISPLAY_LISTS
- See Also:
- Constant Field Values
RenderController
public RenderController(MapSpace space)
frameChanged
public void frameChanged()
viewDirty
public void viewDirty()
scaleChanged
public void scaleChanged()
legendChanged
public void legendChanged()
rasterLayerChanged
public void rasterLayerChanged()
vectorLayerChanged
public void vectorLayerChanged()
ephemeraLayerChanged
public void ephemeraLayerChanged()
setLegendName
public void setLegendName(java.lang.String newLegendName)
regionChangedPixels
public void regionChangedPixels(int pixelX,
int pixelY,
int pixelWidth,
int pixelHeight)
regionChanged
public void regionChanged(double x,
double y,
double width,
double height)
setMapViewFrame
public void setMapViewFrame(MapViewFrame newFrame)
setCurrentSelection
public void setCurrentSelection(MapDataItem item)
setCurrentIndications
public void setCurrentIndications(java.util.ArrayList items)
setWheelMenu
public void setWheelMenu(WheelMenu newMenu)
setRubberband
public void setRubberband(Line newRubberband)
getDrawScaleAndNorthArrow
public boolean getDrawScaleAndNorthArrow()
setDrawScaleAndNorthArrow
public void setDrawScaleAndNorthArrow(boolean tizit)
getFrameCount
public double getFrameCount()
- Get the global average frame count.
getRecentFrameCount
public double getRecentFrameCount()
- Get the recent (last 100 frames) average frame count.
isPrinting
public boolean isPrinting()
setPrinting
public void setPrinting(boolean tizit)
select
public java.util.ArrayList select(double x,
double y,
int pixelX,
int pixelY)
render
public void render()
renderDataItem
public void renderDataItem(RoverSet dataset,
int dataID,
int renderMode)
drawScaleAndNorthArrow
public void drawScaleAndNorthArrow()
getSurface
public DrawingSurface getSurface()
setSurface
public void setSurface(DrawingSurface surface)