Package org.oscim.map
Class Layers
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAdd using layer groups.voidaddGroup(int group) booleanbooleancontainsGroup(int group) get(int index) Should only be used by MapRenderer.remove(int index) intsize()voidMethods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Method Details
-
get
-
getGroups
-
size
public int size()- Specified by:
sizein interfaceCollection<Layer>- Specified by:
sizein interfaceList<Layer>- Specified by:
sizein classAbstractCollection<Layer>
-
add
-
add
Add using layer groups. -
remove
-
set
-
addGroup
public void addGroup(int group) -
contains
- See Also:
-
containsGroup
public boolean containsGroup(int group) - See Also:
-
getLayerRenderer
Should only be used by MapRenderer.- Returns:
- the current LayerRenderer as array.
-
updateLayers
public void updateLayers()
-