public abstract class AbstractLayer extends java.lang.Object implements Layer
Constructor and Description |
---|
AbstractLayer() |
AbstractLayer(java.lang.String displayName) |
Modifier and Type | Method and 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) |
public AbstractLayer()
public AbstractLayer(java.lang.String displayName)
public java.lang.String getDisplayName()
getDisplayName
in interface Layer
public void setDisplayName(java.lang.String displayName)
setDisplayName
in interface Layer
public void setEnabled(boolean enabled)
setEnabled
in interface Layer
public boolean isPickEnabled()
isPickEnabled
in interface Layer
public void setPickEnabled(boolean pickEnabled)
setPickEnabled
in interface Layer
public double getOpacity()
getOpacity
in interface Layer
public void setOpacity(double opacity)
setOpacity
in interface Layer
public double getMinActiveAltitude()
getMinActiveAltitude
in interface Layer
public void setMinActiveAltitude(double minActiveAltitude)
setMinActiveAltitude
in interface Layer
public double getMaxActiveAltitude()
getMaxActiveAltitude
in interface Layer
public void setMaxActiveAltitude(double maxActiveAltitude)
setMaxActiveAltitude
in interface Layer
public java.lang.Object getUserProperty(java.lang.Object key)
getUserProperty
in interface Layer
public java.lang.Object putUserProperty(java.lang.Object key, java.lang.Object value)
putUserProperty
in interface Layer
public java.lang.Object removeUserProperty(java.lang.Object key)
removeUserProperty
in interface Layer
public boolean hasUserProperty(java.lang.Object key)
hasUserProperty
in interface Layer
public void render(RenderContext rc)
public boolean isWithinActiveAltitudes(RenderContext rc)
isWithinActiveAltitudes
in interface Layer