Package gov.nasa.worldwind.layer
Class RenderableLayer
- java.lang.Object
-
- gov.nasa.worldwind.layer.AbstractLayer
-
- gov.nasa.worldwind.layer.RenderableLayer
-
- All Implemented Interfaces:
Layer
,java.lang.Iterable<Renderable>
- Direct Known Subclasses:
BackgroundLayer
,BlueMarbleLandsatLayer
,MercatorTiledImageLayer
,WmsLayer
public class RenderableLayer extends AbstractLayer implements java.lang.Iterable<Renderable>
-
-
Constructor Summary
Constructors Constructor Description RenderableLayer()
RenderableLayer(RenderableLayer layer)
RenderableLayer(java.lang.Iterable<? extends Renderable> renderables)
RenderableLayer(java.lang.String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllRenderables(RenderableLayer layer)
void
addAllRenderables(java.lang.Iterable<? extends Renderable> iterable)
void
addRenderable(int index, Renderable renderable)
void
addRenderable(Renderable renderable)
void
clearRenderables()
int
count()
Renderable
getRenderable(int index)
int
indexOfRenderable(Renderable renderable)
int
indexOfRenderableNamed(java.lang.String name)
int
indexOfRenderableWithProperty(java.lang.Object key, java.lang.Object value)
java.util.Iterator<Renderable>
iterator()
boolean
removeAllRenderables(java.lang.Iterable<? extends Renderable> renderables)
Renderable
removeRenderable(int index)
boolean
removeRenderable(Renderable renderable)
Renderable
setRenderable(int index, Renderable renderable)
-
Methods inherited from class gov.nasa.worldwind.layer.AbstractLayer
getDisplayName, getMaxActiveAltitude, getMinActiveAltitude, getOpacity, getUserProperty, hasUserProperty, isEnabled, isPickEnabled, isWithinActiveAltitudes, putUserProperty, removeUserProperty, render, setDisplayName, setEnabled, setMaxActiveAltitude, setMinActiveAltitude, setOpacity, setPickEnabled
-
-
-
-
Constructor Detail
-
RenderableLayer
public RenderableLayer()
-
RenderableLayer
public RenderableLayer(java.lang.String displayName)
-
RenderableLayer
public RenderableLayer(RenderableLayer layer)
-
RenderableLayer
public RenderableLayer(java.lang.Iterable<? extends Renderable> renderables)
-
-
Method Detail
-
count
public int count()
-
getRenderable
public Renderable getRenderable(int index)
-
setRenderable
public Renderable setRenderable(int index, Renderable renderable)
-
indexOfRenderable
public int indexOfRenderable(Renderable renderable)
-
indexOfRenderableNamed
public int indexOfRenderableNamed(java.lang.String name)
-
indexOfRenderableWithProperty
public int indexOfRenderableWithProperty(java.lang.Object key, java.lang.Object value)
-
addRenderable
public void addRenderable(Renderable renderable)
-
addRenderable
public void addRenderable(int index, Renderable renderable)
-
addAllRenderables
public void addAllRenderables(RenderableLayer layer)
-
addAllRenderables
public void addAllRenderables(java.lang.Iterable<? extends Renderable> iterable)
-
removeRenderable
public boolean removeRenderable(Renderable renderable)
-
removeRenderable
public Renderable removeRenderable(int index)
-
removeAllRenderables
public boolean removeAllRenderables(java.lang.Iterable<? extends Renderable> renderables)
-
clearRenderables
public void clearRenderables()
-
iterator
@NonNull public java.util.Iterator<Renderable> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Renderable>
-
-