|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.render.DoNothingDrawingSurface
public class DoNothingDrawingSurface
A do-nothing drawing surface, surprisingly useful.
Copyright 2008 Partner Software, Inc.
| Field Summary |
|---|
| Fields inherited from interface com.partnersoft.maps.render.DrawingSurface |
|---|
QUALITY_GOOD, QUALITY_OK, QUALITY_POOR, RENDER_EPHEMERA, RENDER_INDICATION, RENDER_RASTER, RENDER_RETICLE, RENDER_SELECTION, RENDER_VECTOR |
| Constructor Summary | |
|---|---|
DoNothingDrawingSurface()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
copyBackBuffer()
Copies the back buffer to the onscreen or "front" buffer. |
int |
displayListFor(long key)
|
int |
displayListFor(java.lang.Object key)
|
void |
drawDisplayList(int displayListID)
|
void |
drawImage(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation,
ImageSource image,
double scale,
int pixelsWide,
int pixelsHigh)
|
void |
drawLiteralPoints(LiteralPointFile literalPoints)
|
void |
drawPoint(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation)
|
void |
drawPolygon(int dataID,
DoubleBuffer coords)
|
void |
drawPolygon(int dataID,
DynamicDoubleArray coords)
|
void |
drawPolyline(int dataID,
DoubleBuffer coords)
|
void |
drawPolyline(int dataID,
DynamicDoubleArray coords)
|
void |
drawPolyline(int dataID,
XyPolyline polyline)
|
void |
drawRasterImage(RasterImage image)
|
void |
drawText(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation,
int alignment,
java.lang.String text)
|
void |
drawWheelMenu(WheelMenu menu)
|
void |
drawWheelMenuCenter(WheelMenu menu)
|
void |
endDisplayList()
|
void |
endTile()
|
boolean |
isBackBufferSupported()
Returns true if this surface offers a backing buffer. |
boolean |
isDirty()
|
boolean |
isDisplayListSupported()
|
boolean |
isDrawingToBackBuffer()
Returns true if the surface is currently drawing to a backing buffer. |
void |
popName()
|
void |
popState()
|
void |
pushName(int i)
|
void |
pushState()
|
void |
removeDisplayList(int displayListID)
|
void |
setBackgroundColor(int color)
|
void |
setDrawingToBackBuffer(boolean isit)
Sets whether the surface should draw to the backing buffer (true) or to the onscreen or "front" buffer (false). |
void |
setForegroundColor(int newRGB)
|
void |
setFrame(MapViewFrame frame)
|
void |
setImageStyle(ImageStyle style)
|
void |
setImageStyle(int style)
|
void |
setImageStyle(java.lang.String styleName)
|
void |
setMapSet(MapSet newMapSet)
|
void |
setPointStyle(int style)
|
void |
setPointStyle(PointStyle style)
|
void |
setPointStyle(java.lang.String styleName)
|
void |
setPolygonStyle(int drawId)
|
void |
setPolygonStyle(PolygonStyle style)
|
void |
setPolygonStyle(java.lang.String styleName)
|
void |
setPolylineStyle(int style)
|
void |
setPolylineStyle(PolylineStyle style)
|
void |
setPolylineStyle(java.lang.String styleName)
|
void |
setPrinting(boolean printing)
|
void |
setRenderMode(int newMode)
|
void |
setRenderQuality(int newQuality)
|
void |
setRenderScaleRegion(RenderScaleRegion scaleRegion)
|
void |
setShowInvisibleGraphics(boolean showInvisibleGraphics)
|
void |
setTextStyle(int style)
|
void |
setTextStyle(java.lang.String styleName)
|
void |
setTextStyle(TextStyle style)
|
int |
startDisplayList(long key)
|
int |
startDisplayList(java.lang.Object key)
|
void |
startDrawing()
|
void |
startTile(RoverBytes bytes)
Sets up the transformations for the coordinates that are coming in. |
void |
stopDrawing()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoNothingDrawingSurface()
| Method Detail |
|---|
public void clear()
clear in interface DrawingSurfacepublic void copyBackBuffer()
DrawingSurface
copyBackBuffer in interface DrawingSurfacepublic int displayListFor(long key)
displayListFor in interface DrawingSurfacepublic int displayListFor(java.lang.Object key)
displayListFor in interface DrawingSurfacepublic void drawDisplayList(int displayListID)
drawDisplayList in interface DrawingSurface
public void drawImage(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation,
ImageSource image,
double scale,
int pixelsWide,
int pixelsHigh)
drawImage in interface DrawingSurface
public void drawPoint(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation)
drawPoint in interface DrawingSurface
public void drawPolygon(int dataID,
DoubleBuffer coords)
drawPolygon in interface DrawingSurface
public void drawPolygon(int dataID,
DynamicDoubleArray coords)
drawPolygon in interface DrawingSurface
public void drawPolyline(int dataID,
DoubleBuffer coords)
drawPolyline in interface DrawingSurface
public void drawPolyline(int dataID,
DynamicDoubleArray coords)
drawPolyline in interface DrawingSurfacepublic void drawRasterImage(RasterImage image)
drawRasterImage in interface DrawingSurface
public void drawText(int dataID,
double x,
double y,
int offsetX,
int offsetY,
int rotation,
int alignment,
java.lang.String text)
drawText in interface DrawingSurfacepublic void drawWheelMenu(WheelMenu menu)
drawWheelMenu in interface DrawingSurfacepublic void drawWheelMenuCenter(WheelMenu menu)
drawWheelMenuCenter in interface DrawingSurfacepublic void endDisplayList()
endDisplayList in interface DrawingSurfacepublic void endTile()
endTile in interface DrawingSurfacepublic boolean isBackBufferSupported()
DrawingSurfaceIf this method returns true, the implementation must also support the methods setDrawingToBackBuffer() and copyBackBuffer()
isBackBufferSupported in interface DrawingSurfacepublic boolean isDirty()
isDirty in interface DrawingSurfacepublic boolean isDisplayListSupported()
isDisplayListSupported in interface DrawingSurfacepublic boolean isDrawingToBackBuffer()
DrawingSurface
isDrawingToBackBuffer in interface DrawingSurfacepublic void popName()
popName in interface DrawingSurfacepublic void popState()
popState in interface DrawingSurfacepublic void pushName(int i)
pushName in interface DrawingSurfacepublic void pushState()
pushState in interface DrawingSurfacepublic void removeDisplayList(int displayListID)
removeDisplayList in interface DrawingSurfacepublic void setBackgroundColor(int color)
setBackgroundColor in interface DrawingSurfacepublic void setDrawingToBackBuffer(boolean isit)
DrawingSurface
setDrawingToBackBuffer in interface DrawingSurfaceisit - true if surface should start drawing to the backing bufferpublic void setForegroundColor(int newRGB)
setForegroundColor in interface DrawingSurfacepublic void setFrame(MapViewFrame frame)
setFrame in interface DrawingSurfacepublic void setMapSet(MapSet newMapSet)
setMapSet in interface DrawingSurfacepublic void setPointStyle(int style)
setPointStyle in interface DrawingSurfacepublic void setPointStyle(PointStyle style)
setPointStyle in interface DrawingSurfacepublic void setPointStyle(java.lang.String styleName)
setPointStyle in interface DrawingSurfacepublic void setPolygonStyle(int drawId)
setPolygonStyle in interface DrawingSurfacepublic void setPolygonStyle(PolygonStyle style)
setPolygonStyle in interface DrawingSurfacepublic void setPolygonStyle(java.lang.String styleName)
setPolygonStyle in interface DrawingSurfacepublic void setPolylineStyle(int style)
setPolylineStyle in interface DrawingSurfacepublic void setPolylineStyle(PolylineStyle style)
setPolylineStyle in interface DrawingSurfacepublic void setPolylineStyle(java.lang.String styleName)
setPolylineStyle in interface DrawingSurfacepublic void setPrinting(boolean printing)
setPrinting in interface DrawingSurfacepublic void setRenderMode(int newMode)
setRenderMode in interface DrawingSurfacepublic void setRenderQuality(int newQuality)
setRenderQuality in interface DrawingSurfacepublic void setRenderScaleRegion(RenderScaleRegion scaleRegion)
setRenderScaleRegion in interface DrawingSurfacepublic void setShowInvisibleGraphics(boolean showInvisibleGraphics)
setShowInvisibleGraphics in interface DrawingSurfacepublic void setTextStyle(int style)
setTextStyle in interface DrawingSurfacepublic void setTextStyle(java.lang.String styleName)
setTextStyle in interface DrawingSurfacepublic void setTextStyle(TextStyle style)
setTextStyle in interface DrawingSurfacepublic int startDisplayList(long key)
startDisplayList in interface DrawingSurfacepublic int startDisplayList(java.lang.Object key)
startDisplayList in interface DrawingSurfacepublic void startDrawing()
startDrawing in interface DrawingSurfacepublic void startTile(RoverBytes bytes)
DrawingSurface
startTile in interface DrawingSurfacebytes - everything we need to set up our transformation.public void stopDrawing()
stopDrawing in interface DrawingSurface
public void drawPolyline(int dataID,
XyPolyline polyline)
drawPolyline in interface DrawingSurfacepublic void setImageStyle(ImageStyle style)
setImageStyle in interface DrawingSurfacepublic void setImageStyle(int style)
setImageStyle in interface DrawingSurfacepublic void setImageStyle(java.lang.String styleName)
setImageStyle in interface DrawingSurfacepublic void drawLiteralPoints(LiteralPointFile literalPoints)
drawLiteralPoints in interface DrawingSurface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||