public class GeoImageDisplay extends java.awt.image.BufferedImage implements GeoDisplay
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY| Constructor and Description |
|---|
GeoImageDisplay(int width,
int height)
Create the GeoImage with the specified width and height
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayer(GeoLayer layer)
Add a layer to the geographic display
|
GeoBounds |
getGeoBounds()
Get the geographic bounds
|
java.util.List<GeoLayer> |
getLayers()
Get the list of layers.
|
Projection |
getProjection()
Get the current projection
|
void |
setGeoBounds(GeoBounds geoBounds)
Set the geographic bounds
|
void |
setLayers(java.util.Collection<GeoLayer> layers)
Set the geographic layers.
|
void |
setProjection(Projection proj)
Set the current projection
|
void |
setWorldColor(java.awt.Color color)
Set the world color.
|
addTileObserver, coerceData, copyData, createGraphics, getAlphaRaster, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toStringpublic GeoImageDisplay(int width,
int height)
width - image widthheight - image heightpublic void addLayer(GeoLayer layer)
addLayer in interface GeoDisplaylayer - a new geographic layerpublic GeoBounds getGeoBounds()
getGeoBounds in interface GeoDisplaypublic java.util.List<GeoLayer> getLayers()
getLayers in interface GeoDisplaypublic Projection getProjection()
getProjection in interface GeoDisplaypublic void setGeoBounds(GeoBounds geoBounds)
setGeoBounds in interface GeoDisplaygeoBounds - the geographic boundspublic void setLayers(java.util.Collection<GeoLayer> layers)
setLayers in interface GeoDisplaylayers - the collection of geographic layerspublic void setProjection(Projection proj)
setProjection in interface GeoDisplayproj - the new projectionpublic void setWorldColor(java.awt.Color color)
color - the new world color