|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.internal.value.LayerTimeOptionsCollection
public class LayerTimeOptionsCollection
Constructor Summary | |
---|---|
LayerTimeOptionsCollection(Collection<LayerInfo> layerInfos)
|
|
LayerTimeOptionsCollection(Collection<LayerInfo> layerInfos,
boolean addDefaults)
|
Method Summary | ||
---|---|---|
boolean |
add(T e)
Add a new item to this collection. |
|
boolean |
addAll(Collection<? extends T> c)
This method is equivalent to iterating through the given collection calling #add(T) for each item. |
|
void |
clear()
Remove all T instances from this list. |
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
T |
get(int layerId)
Return the T instance representing
the layer with the given id, if it exists. |
|
protected LayerTimeOptions |
getDefaultItem(int id)
|
|
protected HashMap<Integer,T> |
getDynamicLayerItemInfos()
|
|
protected HashMap<Integer,LayerInfo> |
getLayersList()
|
|
List<LayerTimeOptions> |
getTimeOptionsList()
|
|
boolean |
isEmpty()
|
|
Iterator<T> |
iterator()
|
|
boolean |
remove(Object o)
Remove the given item from the list. |
|
boolean |
removeAll(Collection<?> c)
This method is equivalent to iterating through the given collection and calling remove(Object) for each item. |
|
void |
resetToDefault()
Call this method to reset all the sublayer renderers back to the service defaults. |
|
boolean |
retainAll(Collection<?> c)
This method is equivalent to calling remove(Object) for all the
items in this list that are not contained in the given list. |
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Constructor Detail |
---|
public LayerTimeOptionsCollection(Collection<LayerInfo> layerInfos, boolean addDefaults)
parentLayer
- addDefaults
- public LayerTimeOptionsCollection(Collection<LayerInfo> layerInfos)
Method Detail |
---|
public List<LayerTimeOptions> getTimeOptionsList()
protected LayerTimeOptions getDefaultItem(int id)
public int size()
size
in interface Collection<T extends LayerInfoItem>
public boolean isEmpty()
isEmpty
in interface Collection<T extends LayerInfoItem>
public boolean contains(Object o)
contains
in interface Collection<T extends LayerInfoItem>
public Iterator<T> iterator()
iterator
in interface Iterable<T extends LayerInfoItem>
iterator
in interface Collection<T extends LayerInfoItem>
public Object[] toArray()
toArray
in interface Collection<T extends LayerInfoItem>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<T extends LayerInfoItem>
public boolean add(T e)
add
in interface Collection<T extends LayerInfoItem>
Collection.add(java.lang.Object)
public boolean remove(Object o)
remove
in interface Collection<T extends LayerInfoItem>
Collection.remove(java.lang.Object)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T extends LayerInfoItem>
public boolean addAll(Collection<? extends T> c)
#add(T)
for each item.
addAll
in interface Collection<T extends LayerInfoItem>
Collection.addAll(java.util.Collection)
public boolean removeAll(Collection<?> c)
remove(Object)
for each item. See the documentation
for the remove(Object)
method for information on the behaviour
of this method.
removeAll
in interface Collection<T extends LayerInfoItem>
Collection.removeAll(java.util.Collection)
public boolean retainAll(Collection<?> c)
remove(Object)
for all the
items in this list that are not contained in the given list. See the
documentation for the remove(Object)
method for information on
the behaviour of this method.
retainAll
in interface Collection<T extends LayerInfoItem>
Collection.retainAll(java.util.Collection)
public void clear()
T
instances from this list. This
will have the effect of reseting all the dynamic map service layers
back to their default behaviour.
clear
in interface Collection<T extends LayerInfoItem>
Collection.clear()
public T get(int layerId)
T
instance representing
the layer with the given id, if it exists.
layerId
-
DynamicLayerInfo
matching layerId or null.protected HashMap<Integer,T> getDynamicLayerItemInfos()
protected HashMap<Integer,LayerInfo> getLayersList()
public void resetToDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |