renderable to this layer's internal collection. If this layer's internal collection has been overridden with a call to {@link #setRenderables(Iterable)}, this will throw an exception. If the renderable implements {@link gov.nasa.worldwind.avlist.AVList}, the layer forwards its property change events to the layer's property change listeners. Any property change listeners the layer attaches to the renderable are removed in {@link #removeRenderable(gov.nasa.worldwind.render.Renderable)}, {@link #removeAllRenderables()}, or {@link #dispose()}.
@param renderable Renderable to add.
@throws IllegalArgumentException If renderable is null.
@throws IllegalStateException If a custom Iterable has been specified by a call to setRenderables.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |