|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.map.ResolutionList
public class ResolutionList

This class is used to contain a list of map resolution values that can be used to set fixed zoom levels in a JMap. The values are ordered from lowest resolution (most zoomed out or largest resolution number) to highest resolution (most zoomed in or smallest resolution number).
In addition to the standardCollection methods, this class also allows
resolution values to be added from a given layer by calling addFromLayer(Layer).
| Constructor Summary | |
|---|---|
ResolutionList()
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(Double e)
|
|
boolean |
addAll(Collection<? extends Double> c)
|
|
void |
addFromLayer(Layer layer)
Adds all the resolution values contained in the given layer |
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
Object |
getSyncObject()
Gets the sync object to be used when accessing this class's iterator. |
|
Double |
higher(Double resolution)
Get the next highest value from the value given. |
|
Double |
highest()
Get the highest resolution in the list (most zoomed in) |
|
boolean |
isEmpty()
|
|
Iterator<Double> |
iterator()
This iterator will return the resolution values ordered from lowest resolution (most zoomed out or largest resolution number) to highest resolution (most zoomed in or smallest resolution number). |
|
Double |
lower(Double resolution)
Get the next lowest value from the value given. |
|
Double |
lowest()
Get the lowest resolution in the list (most zoomed out) |
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
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 ResolutionList()
| Method Detail |
|---|
public Object getSyncObject()
public int size()
size in interface Collection<Double>public boolean isEmpty()
isEmpty in interface Collection<Double>public boolean contains(Object o)
contains in interface Collection<Double>public Iterator<Double> iterator()
getSyncObject().
iterator in interface Iterable<Double>iterator in interface Collection<Double>Collection.iterator()public Object[] toArray()
toArray in interface Collection<Double>public <T> T[] toArray(T[] a)
toArray in interface Collection<Double>public boolean add(Double e)
add in interface Collection<Double>public boolean remove(Object o)
remove in interface Collection<Double>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Double>public boolean addAll(Collection<? extends Double> c)
addAll in interface Collection<Double>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<Double>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<Double>public void clear()
clear in interface Collection<Double>public void addFromLayer(Layer layer)
layer - the layer to add resolution values frompublic Double lower(Double resolution)
resolution - the resolution to search from
public Double higher(Double resolution)
resolution - the resolution to search from
public Double highest()
public Double lowest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||