Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.mapping
Class Surface.ElevationSourceList
java.lang.Object
com.esri.arcgisruntime.mapping.Surface.ElevationSourceList
- All Implemented Interfaces:
 ListenableList<ElevationSource>,Iterable<ElevationSource>,Collection<ElevationSource>,List<ElevationSource>,SequencedCollection<ElevationSource>,Observable,ObservableList<ElevationSource>
- Enclosing class:
 Surface
public static final class Surface.ElevationSourceList
extends Object
implements ListenableList<ElevationSource>
Represents the list of ElevationSources in a Surface.
 
This class is not creatable but elevation sources can be added and removed. Changes to the list can be observed by adding a listener.
If the elevation sources in the list are rendered in a SceneView, changes to the list will have an immediate effect on how elevation is rendered in that SceneView. If an elevation source is removed from the list it will disappear from the SceneView and vice versa if an elevation source is added to the list it will change the elevation rendering of the SceneView.
- Since:
 - 100.0.0
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, ElevationSource element) booleanadd(ElevationSource elevationSource) booleanaddAll(int index, Collection<? extends ElevationSource> c) booleanaddAll(ElevationSource... elements) booleanaddAll(Collection<? extends ElevationSource> c) voidAdds a listener for added and removed events.voidaddListener(InvalidationListener listener) voidaddListener(ListChangeListener<? super ElevationSource> listener) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) voidremove(int from, int to) booleanbooleanremoveAll(ElevationSource... elements) booleanremoveAll(Collection<?> c) booleanRemoves the given listener from this class instance.voidremoveListener(InvalidationListener listener) voidremoveListener(ListChangeListener<? super ElevationSource> listener) booleanretainAll(ElevationSource... elements) booleanretainAll(Collection<?> c) set(int index, ElevationSource element) booleansetAll(ElevationSource... elements) booleansetAll(Collection<? extends ElevationSource> col) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliteratorMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sorted 
- 
Method Details
- 
addListChangedListener
Description copied from interface:ListenableListAdds a listener for added and removed events.Adding this listener on the UI thread will cause it to be invoked on the UI thread, otherwise it is not guaranteed on which thread the listener is invoked.
- Specified by:
 addListChangedListenerin interfaceListenableList<ElevationSource>- Parameters:
 listener- this listener will be called back when items are added to or removed from the list
 - 
removeListChangedListener
Description copied from interface:ListenableListRemoves the given listener from this class instance. It will no longer receive added or removed events.- Specified by:
 removeListChangedListenerin interfaceListenableList<ElevationSource>- Parameters:
 listener- listener to remove- Returns:
 - true if the listenable list contained the given listener, false otherwise
 
 - 
size
public int size()- Specified by:
 sizein interfaceCollection<ElevationSource>- Specified by:
 sizein interfaceList<ElevationSource>
 - 
isEmpty
public boolean isEmpty()- Specified by:
 isEmptyin interfaceCollection<ElevationSource>- Specified by:
 isEmptyin interfaceList<ElevationSource>
 - 
contains
- Specified by:
 containsin interfaceCollection<ElevationSource>- Specified by:
 containsin interfaceList<ElevationSource>
 - 
iterator
- Specified by:
 iteratorin interfaceCollection<ElevationSource>- Specified by:
 iteratorin interfaceIterable<ElevationSource>- Specified by:
 iteratorin interfaceList<ElevationSource>
 - 
toArray
- Specified by:
 toArrayin interfaceCollection<ElevationSource>- Specified by:
 toArrayin interfaceList<ElevationSource>
 - 
toArray
public <T> T[] toArray(T[] a) - Specified by:
 toArrayin interfaceCollection<ElevationSource>- Specified by:
 toArrayin interfaceList<ElevationSource>
 - 
add
- Specified by:
 addin interfaceCollection<ElevationSource>- Specified by:
 addin interfaceList<ElevationSource>
 - 
remove
- Specified by:
 removein interfaceCollection<ElevationSource>- Specified by:
 removein interfaceList<ElevationSource>
 - 
containsAll
- Specified by:
 containsAllin interfaceCollection<ElevationSource>- Specified by:
 containsAllin interfaceList<ElevationSource>
 - 
addAll
- Specified by:
 addAllin interfaceCollection<ElevationSource>- Specified by:
 addAllin interfaceList<ElevationSource>
 - 
addAll
- Specified by:
 addAllin interfaceList<ElevationSource>
 - 
removeAll
- Specified by:
 removeAllin interfaceCollection<ElevationSource>- Specified by:
 removeAllin interfaceList<ElevationSource>
 - 
retainAll
- Specified by:
 retainAllin interfaceCollection<ElevationSource>- Specified by:
 retainAllin interfaceList<ElevationSource>
 - 
clear
public void clear()- Specified by:
 clearin interfaceCollection<ElevationSource>- Specified by:
 clearin interfaceList<ElevationSource>
 - 
get
- Specified by:
 getin interfaceList<ElevationSource>
 - 
set
- Specified by:
 setin interfaceList<ElevationSource>
 - 
add
- Specified by:
 addin interfaceList<ElevationSource>
 - 
remove
- Specified by:
 removein interfaceList<ElevationSource>
 - 
indexOf
- Specified by:
 indexOfin interfaceList<ElevationSource>
 - 
lastIndexOf
- Specified by:
 lastIndexOfin interfaceList<ElevationSource>
 - 
listIterator
- Specified by:
 listIteratorin interfaceList<ElevationSource>
 - 
listIterator
- Specified by:
 listIteratorin interfaceList<ElevationSource>
 - 
subList
- Specified by:
 subListin interfaceList<ElevationSource>
 - 
addListener
- Specified by:
 addListenerin interfaceObservableList<ElevationSource>
 - 
removeListener
- Specified by:
 removeListenerin interfaceObservableList<ElevationSource>
 - 
addAll
- Specified by:
 addAllin interfaceObservableList<ElevationSource>
 - 
setAll
- Specified by:
 setAllin interfaceObservableList<ElevationSource>
 - 
setAll
- Specified by:
 setAllin interfaceObservableList<ElevationSource>
 - 
removeAll
- Specified by:
 removeAllin interfaceObservableList<ElevationSource>
 - 
retainAll
- Specified by:
 retainAllin interfaceObservableList<ElevationSource>
 - 
remove
public void remove(int from, int to) - Specified by:
 removein interfaceObservableList<ElevationSource>
 - 
addListener
- Specified by:
 addListenerin interfaceObservable
 - 
removeListener
- Specified by:
 removeListenerin interfaceObservable
 
 -