Package gov.nasa.worldwind.layer
Class AbstractLayer
- java.lang.Object
-
- gov.nasa.worldwind.layer.AbstractLayer
-
- All Implemented Interfaces:
Layer
- Direct Known Subclasses:
AbstractGraticuleLayer
,AtmosphereLayer
,RenderableLayer
,ShowTessellationLayer
public abstract class AbstractLayer extends java.lang.Object implements Layer
-
-
Constructor Summary
Constructors Constructor Description AbstractLayer()
AbstractLayer(java.lang.String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
double
getMaxActiveAltitude()
double
getMinActiveAltitude()
double
getOpacity()
java.lang.Object
getUserProperty(java.lang.Object key)
boolean
hasUserProperty(java.lang.Object key)
boolean
isEnabled()
boolean
isPickEnabled()
boolean
isWithinActiveAltitudes(RenderContext rc)
java.lang.Object
putUserProperty(java.lang.Object key, java.lang.Object value)
java.lang.Object
removeUserProperty(java.lang.Object key)
void
render(RenderContext rc)
void
setDisplayName(java.lang.String displayName)
void
setEnabled(boolean enabled)
void
setMaxActiveAltitude(double maxActiveAltitude)
void
setMinActiveAltitude(double minActiveAltitude)
void
setOpacity(double opacity)
void
setPickEnabled(boolean pickEnabled)
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceLayer
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName
in interfaceLayer
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceLayer
-
isPickEnabled
public boolean isPickEnabled()
- Specified by:
isPickEnabled
in interfaceLayer
-
setPickEnabled
public void setPickEnabled(boolean pickEnabled)
- Specified by:
setPickEnabled
in interfaceLayer
-
getOpacity
public double getOpacity()
- Specified by:
getOpacity
in interfaceLayer
-
setOpacity
public void setOpacity(double opacity)
- Specified by:
setOpacity
in interfaceLayer
-
getMinActiveAltitude
public double getMinActiveAltitude()
- Specified by:
getMinActiveAltitude
in interfaceLayer
-
setMinActiveAltitude
public void setMinActiveAltitude(double minActiveAltitude)
- Specified by:
setMinActiveAltitude
in interfaceLayer
-
getMaxActiveAltitude
public double getMaxActiveAltitude()
- Specified by:
getMaxActiveAltitude
in interfaceLayer
-
setMaxActiveAltitude
public void setMaxActiveAltitude(double maxActiveAltitude)
- Specified by:
setMaxActiveAltitude
in interfaceLayer
-
getUserProperty
public java.lang.Object getUserProperty(java.lang.Object key)
- Specified by:
getUserProperty
in interfaceLayer
-
putUserProperty
public java.lang.Object putUserProperty(java.lang.Object key, java.lang.Object value)
- Specified by:
putUserProperty
in interfaceLayer
-
removeUserProperty
public java.lang.Object removeUserProperty(java.lang.Object key)
- Specified by:
removeUserProperty
in interfaceLayer
-
hasUserProperty
public boolean hasUserProperty(java.lang.Object key)
- Specified by:
hasUserProperty
in interfaceLayer
-
render
public void render(RenderContext rc)
-
isWithinActiveAltitudes
public boolean isWithinActiveAltitudes(RenderContext rc)
- Specified by:
isWithinActiveAltitudes
in interfaceLayer
-
-