public class EarthImagePlugIn extends AbstractPlugIn implements ImageServerConstants
Modifier and Type | Class and Description |
---|---|
class |
EarthImagePlugIn.ImageTranslator
The ImageTranslator is the object that takes the BufferedImage and creates
the OMRaster from it based on a Projection object.
|
Modifier and Type | Field and Description |
---|---|
protected java.awt.image.BufferedImage |
bi |
static java.lang.String |
ImageProperty |
protected java.lang.String |
imageString |
protected EarthImagePlugIn.ImageTranslator |
it |
addToBeanContext, component, i18n, mml, name, prefix, removable, RemovableProperty
AZIMUTH, LAT, LAYERMASK, LAYERS, LON, PAN, PROJTYPE, QUERY, RECENTER, SCALE, X, Y
BBOX, BGCOLOR, CAPABILITIES, CRS, EXCEPTIONS, FORMAT, GETCAPABILITIES, GETFEATUREINFO, GETLEGENDGRAPHIC, GETMAP, HEIGHT, IMAGEFORMAT_GEOTIFF, IMAGEFORMAT_GIF, IMAGEFORMAT_JPEG, IMAGEFORMAT_PNG, IMAGEFORMAT_PPM, IMAGEFORMAT_SVG, IMAGEFORMAT_TIFF, IMAGEFORMAT_WBMP, INFO_FORMAT, LAYER, MAP, QUERY_LAYERS, REQUEST, SERVICE, SRS, STYLE, STYLES, TRANSPARENT, VERSION, WIDTH, WMTVER
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
EarthImagePlugIn() |
EarthImagePlugIn(java.awt.Component comp) |
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getProperties(java.util.Properties props)
Method to fill in a Properties object, reflecting the current values of
the PropertyConsumer.
|
java.util.Properties |
getPropertyInfo(java.util.Properties props)
Method to fill in a Properties object with values reflecting the
properties able to be set on this PropertyConsumer.
|
OMGraphicList |
getRectangle(Projection p)
The getRectangle call is the main call into the PlugIn module.
|
void |
setProperties(java.lang.String prefix,
java.util.Properties setList)
Method to set the properties in the PropertyConsumer.
|
dispose, doPrepare, getAddToBeanContext, getComponent, getGUI, getMapMouseListener, getMouseModeServiceList, getName, getPropertyPrefix, isRemovable, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased, removed, repaint, setAddToBeanContext, setComponent, setMapMouseListener, setName, setProperties, setPropertyPrefix, setRemovable
protected java.awt.image.BufferedImage bi
protected EarthImagePlugIn.ImageTranslator it
public static final java.lang.String ImageProperty
protected java.lang.String imageString
public EarthImagePlugIn()
public EarthImagePlugIn(java.awt.Component comp)
public OMGraphicList getRectangle(Projection p)
AbstractPlugIn
getRectangle
in interface PlugIn
getRectangle
in class AbstractPlugIn
p
- projection of the screen, holding scale, center coords, height,
width.Projection
,
OMGraphicList
public void setProperties(java.lang.String prefix, java.util.Properties setList)
setProperties
in interface PropertyConsumer
setProperties
in class AbstractPlugIn
prefix
- a String used by the PropertyConsumer to prepend to each
property value it wants to look up -
setList.getProperty(prefix.propertyKey). If the prefix had already
been set, then the prefix passed in should replace that previous
value.setList
- a Properties object that the PropertyConsumer can use to
retrieve expected properties it can use for configuration.public java.util.Properties getProperties(java.util.Properties props)
AbstractPlugIn
getProperties
in interface PropertyConsumer
getProperties
in class AbstractPlugIn
props
- a Properties object to load the PropertyConsumer
properties into. If getList equals null, then a new Properties
object should be created.public java.util.Properties getPropertyInfo(java.util.Properties props)
AbstractPlugIn
getPropertyInfo
in interface PropertyConsumer
getPropertyInfo
in class AbstractPlugIn
props
- a Properties object to load the PropertyConsumer properties
into. If getList equals null, then a new Properties object should
be created.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details