| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Layer layer)
Adds a new layer at the specified position.
|
void |
add(int index,
Layer layer,
boolean redraw)
Adds a new layer at the specified position.
|
void |
add(Layer layer)
Adds a new layer on top.
|
void |
add(Layer layer,
boolean redraw)
Adds a new layer on top.
|
void |
addAll(java.util.Collection<Layer> layers)
Adds multiple new layers on top.
|
void |
addAll(java.util.Collection<Layer> layers,
boolean redraw)
Adds multiple new layers on top.
|
void |
addAll(int index,
java.util.Collection<Layer> layers)
Adds multiple new layers at the specified position.
|
void |
addAll(int index,
java.util.Collection<Layer> layers,
boolean redraw)
Adds multiple new layers at the specified position.
|
void |
clear()
Removes all layers.
|
void |
clear(boolean redraw)
Removes all layers.
|
boolean |
contains(Layer layer) |
Layer |
get(int index) |
int |
indexOf(Layer layer) |
boolean |
isEmpty() |
java.util.Iterator<Layer> |
iterator() |
Layer |
remove(int index)
Removes a layer.
|
Layer |
remove(int index,
boolean redraw)
Removes a layer.
|
boolean |
remove(Layer layer)
Removes a layer.
|
boolean |
remove(Layer layer,
boolean redraw)
Removes a layer.
|
int |
size() |
public void add(int index,
Layer layer)
add(int, Layer, boolean).index - The position at which to add the new layer (the lowest layer has position 0)layer - The new layer to addList.add(int, Object)public void add(int index,
Layer layer,
boolean redraw)
index - The position at which to add the new layer (the lowest layer has position 0)layer - The new layer to addredraw - Whether the map should be redrawn after adding the layerList.add(int, Object)public void add(Layer layer)
add(Layer, boolean).layer - The new layer to addList.add(Object)public void add(Layer layer, boolean redraw)
layer - The new layer to addredraw - Whether the map should be redrawn after adding the layerList.add(Object)public void addAll(java.util.Collection<Layer> layers)
addAll(Collection, boolean).layers - The new layers to addList.addAll(Collection)public void addAll(java.util.Collection<Layer> layers, boolean redraw)
layers - The new layers to addredraw - Whether the map should be redrawn after adding the layersList.addAll(Collection)public void addAll(int index,
java.util.Collection<Layer> layers)
addAll(int, Collection, boolean).index - The position at which to add the new layers (the lowest layer has position 0)layers - The new layers to addList.addAll(int, Collection)public void addAll(int index,
java.util.Collection<Layer> layers,
boolean redraw)
index - The position at which to add the new layers (the lowest layer has position 0)layers - The new layers to addredraw - Whether the map should be redrawn after adding the layersList.addAll(int, Collection)public void clear()
clear(boolean).List.clear()public void clear(boolean redraw)
redraw - Whether the map should be redrawn after removing the layersList.clear()public boolean contains(Layer layer)
List.contains(Object)public Layer get(int index)
List.get(int)public int indexOf(Layer layer)
List.indexOf(Object)public boolean isEmpty()
List.isEmpty()public java.util.Iterator<Layer> iterator()
iterator in interface java.lang.Iterable<Layer>List.iterator()public Layer remove(int index)
remove(int, boolean).index - The index of the layer to removeList.remove(int)public Layer remove(int index, boolean redraw)
index - The index of the layer to removeredraw - Whether the map should be redrawn after removing the layerList.remove(int)public boolean remove(Layer layer)
remove(Layer, boolean).layer - The layer to removeList.remove(Object)public boolean remove(Layer layer, boolean redraw)
layer - The layer to removeredraw - Whether the map should be redrawn after removing the layerList.remove(Object)public int size()
List.size()