public class LevelSet extends WWObjectImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
LevelSet.SectorResolution |
| Constructor and Description |
|---|
LevelSet(AVList params) |
LevelSet(LevelSet source) |
| Modifier and Type | Method and Description |
|---|---|
Sector |
computeSectorForKey(TileKey key) |
Tile |
createTile(TileKey key) |
Level |
getFirstLevel() |
Level |
getLastLevel() |
Level |
getLastLevel(Angle latitude,
Angle longitude) |
Level |
getLastLevel(Sector sector) |
Level |
getLevel(int levelNumber) |
java.util.ArrayList<Level> |
getLevels() |
LatLon |
getLevelZeroTileDelta() |
Level |
getNextToLastLevel() |
int |
getNumLevels() |
Sector |
getSector() |
LevelSet.SectorResolution[] |
getSectorLevelLimits() |
LatLon |
getTileOrigin() |
java.lang.Object |
getValue(java.lang.String key)
Returns the value for a specified key.
|
boolean |
isFinalLevel(int levelNum) |
boolean |
isLevelEmpty(int levelNumber) |
boolean |
isResourceAbsent(Tile tile)
Indicates whether a tile has been marked as absent.
|
boolean |
isResourceAbsent(TileKey tileKey)
Indicates whether a tile has been marked as absent.
|
void |
markResourceAbsent(Tile tile)
Instructs the level set that a tile is likely to be absent.
|
void |
setExpiryTime(long expiryTime) |
java.lang.Object |
setValue(java.lang.String key,
java.lang.Object value)
Adds a key/value pair to the list.
|
void |
unmarkResourceAbsent(Tile tile)
Removes the absent-tile mark associated with a tile, if one is associatied.
|
onMessage, propertyChangeaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValuespublic LevelSet(AVList params)
public LevelSet(LevelSet source)
public final Level getFirstLevel()
public final Level getLastLevel()
public final Level getLevel(int levelNumber)
public final java.util.ArrayList<Level> getLevels()
public final LatLon getLevelZeroTileDelta()
public final Level getNextToLastLevel()
public final int getNumLevels()
public final Sector getSector()
public final LevelSet.SectorResolution[] getSectorLevelLimits()
public final LatLon getTileOrigin()
public java.lang.Object getValue(java.lang.String key)
AVListgetValue in interface AVListgetValue in class AVListImplkey - the attribute name. May not be null.null.public final boolean isFinalLevel(int levelNum)
public final boolean isLevelEmpty(int levelNumber)
public final boolean isResourceAbsent(Tile tile)
tile - The tile in question.true if the tile is marked absent, otherwise false.java.lang.IllegalArgumentException - if tile is nullpublic final boolean isResourceAbsent(TileKey tileKey)
tileKey - The key of the tile in question.true if the tile is marked absent, otherwise false.java.lang.IllegalArgumentException - if tile is nullpublic final void markResourceAbsent(Tile tile)
tile - The tile to mark as having an absent resource.java.lang.IllegalArgumentException - if tile is nullpublic void setExpiryTime(long expiryTime)
public java.lang.Object setValue(java.lang.String key,
java.lang.Object value)
AVListsetValue in interface AVListsetValue in class AVListImplkey - the attribute name. May not be null.value - the attribute value. May be null, in which case any existing value for the key is
removed from the collection.public final void unmarkResourceAbsent(Tile tile)
tile - The tile to unmark.java.lang.IllegalArgumentException - if tile is null