public class GliderImageLayer extends AbstractLayer
Modifier and Type | Class and Description |
---|---|
protected class |
GliderImageLayer.ImageListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GLIDER_IMAGE |
protected GliderImage |
image |
protected SurfaceImageLayer |
imageLayer |
protected GliderImageLayer.ImageListener |
imageListener |
protected RenderableLayer |
regionLayer |
Constructor and Description |
---|
GliderImageLayer() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of any internal resources allocated by the object.
|
void |
doPreRender(DrawContext dc) |
protected void |
doRender(DrawContext dc) |
protected Layer |
getImageLayer() |
java.lang.String |
getName()
Returns the layer's name, as specified in the most recent call to
Layer.setName(java.lang.String) . |
protected static java.util.List<Renderable> |
makePolylines(GliderRegionOfInterest.RegionSet regions,
double altitude) |
void |
render(DrawContext dc)
Cause the layer to draw its representation.
|
void |
setImage(GliderImage image) |
createLayerConfigElements, doPick, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getOpacity, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit, toString
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
public static final java.lang.String GLIDER_IMAGE
protected GliderImage image
protected SurfaceImageLayer imageLayer
protected GliderImageLayer.ImageListener imageListener
protected RenderableLayer regionLayer
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class AbstractLayer
public void doPreRender(DrawContext dc)
doPreRender
in class AbstractLayer
protected void doRender(DrawContext dc)
doRender
in class AbstractLayer
protected Layer getImageLayer()
public java.lang.String getName()
Layer
Layer.setName(java.lang.String)
.getName
in interface Layer
getName
in class AbstractLayer
protected static java.util.List<Renderable> makePolylines(GliderRegionOfInterest.RegionSet regions, double altitude)
public void render(DrawContext dc)
Layer
render
in interface Layer
render
in class AbstractLayer
dc
- the current draw contextpublic void setImage(GliderImage image) throws java.io.IOException
java.io.IOException