|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.layers.AbstractLayer
gov.nasa.worldwind.layers.RenderableLayer
gov.nasa.worldwind.layers.SkyColorLayer
public class SkyColorLayer
Paints the sky color background depending on altitude.
Field Summary |
---|
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
changeSupport |
Constructor Summary | |
---|---|
SkyColorLayer()
Paints the sky color background depending on altitude |
|
SkyColorLayer(Color color)
Paints the sky color background depending on altitude |
Method Summary | |
---|---|
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()
|
Methods inherited from class gov.nasa.worldwind.layers.RenderableLayer |
---|
addRenderable, addRenderables, dispose, doPick, getDelegateOwner, getRenderables, removeAllRenderables, removeRenderable, setRenderables |
Methods inherited from class gov.nasa.worldwind.layers.AbstractLayer |
---|
getMaxActiveAltitude, getMinActiveAltitude, getName, getOpacity, getRestorableState, getScale, isAtMaxResolution, isEnabled, isLayerActive, isLayerInView, isMultiResolution, isPickEnabled, pick, render, restoreState, setEnabled, setMaxActiveAltitude, setMinActiveAltitude, setName, setOpacity, setPickEnabled |
Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
---|
propertyChange |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from interface java.beans.PropertyChangeListener |
---|
propertyChange |
Constructor Detail |
---|
public SkyColorLayer()
public SkyColorLayer(Color color)
color
- the sky ColorMethod Detail |
---|
public 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
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |