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) |
ArrayList<Level> |
getLevels() |
LatLon |
getLevelZeroTileDelta() |
Level |
getNextToLastLevel() |
int |
getNumLevels() |
Sector |
getSector() |
LevelSet.SectorResolution[] |
getSectorLevelLimits() |
LatLon |
getTileOrigin() |
Object |
getValue(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) |
Object |
setValue(String key,
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 LatLon getLevelZeroTileDelta()
public final Level getNextToLastLevel()
public final int getNumLevels()
public final Sector getSector()
public final LevelSet.SectorResolution[] getSectorLevelLimits()
public final LatLon getTileOrigin()
public Object getValue(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.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.IllegalArgumentException - if tile is nullpublic final void markResourceAbsent(Tile tile)
tile - The tile to mark as having an absent resource.IllegalArgumentException - if tile is nullpublic void setExpiryTime(long expiryTime)
public Object setValue(String key, 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.IllegalArgumentException - if tile is null