public class SkyColorLayer extends RenderableLayer
pickSupport, renderables, renderablesOverride
Constructor and Description |
---|
SkyColorLayer()
Paints the sky color background depending on altitude
|
SkyColorLayer(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)
|
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(Color color)
Set the sky Color
|
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
propertyChange
public SkyColorLayer()
public SkyColorLayer(Color color)
color
- the sky Colorpublic void doRender(DrawContext dc)
doRender
in class RenderableLayer
public double getFadeBottomAltitude()
public double getFadeTopAltitude()
public 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(Color color)
color
- the sky colorpublic String toString()
toString
in class RenderableLayer