public class SkyColorLayer extends RenderableLayer
pickSupport, renderables, renderablesOverride
Constructor and Description |
---|
SkyColorLayer()
Paints the sky color background depending on altitude
|
SkyColorLayer(java.awt.Color color)
Paints the sky color background depending on altitude
|
Modifier and Type | Method and Description |
---|---|
void |
doRender(DrawContext dc) |
double |
getFadeBottomAltitude()
Get the bottom altitude for the fade effect (meters)
|
double |
getFadeTopAltitude()
Get the top altitude for the fade effect (meters)
|
java.awt.Color |
getSkyColor()
Get the sky Color
|
void |
setFadeBottomAltitude(double alt)
Set the bottom altitude for the fade effect (meters)
|
void |
setFadeTopAltitude(double alt)
Set the top altitude for the fade effect (meters)
|
void |
setSkyColor(java.awt.Color color)
Set the sky Color
|
java.lang.String |
toString() |
addRenderable, addRenderable, addRenderables, clearRenderables, dispose, disposeRenderables, doPick, doPick, doPreRender, doPreRender, doRender, getActiveRenderables, getNumRenderables, getOpacity, getRenderables, onMessage, removeAllRenderables, removeRenderable, setOpacity, setRenderables
createLayerConfigElements, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setPickEnabled, setScreenCredit
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
public SkyColorLayer()
public SkyColorLayer(java.awt.Color color)
color
- the sky Colorpublic void doRender(DrawContext dc)
doRender
in class RenderableLayer
public double getFadeBottomAltitude()
public double getFadeTopAltitude()
public java.awt.Color getSkyColor()
public void setFadeBottomAltitude(double alt)
alt
- the bottom altitude in meterspublic void setFadeTopAltitude(double alt)
alt
- the top altitude in meterspublic void setSkyColor(java.awt.Color color)
color
- the sky colorpublic java.lang.String toString()
toString
in class RenderableLayer