|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.util.LevelSet
public class LevelSet
| Nested Class Summary | |
|---|---|
static class |
LevelSet.SectorResolution
|
| Constructor Summary | |
|---|---|
LevelSet(AVList params)
|
|
LevelSet(LevelSet source)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
|---|
onMessage, propertyChange |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues |
| Constructor Detail |
|---|
public LevelSet(AVList params)
public LevelSet(LevelSet source)
| Method Detail |
|---|
public Sector computeSectorForKey(TileKey key)
public Tile createTile(TileKey key)
public final Level getFirstLevel()
public final Level getLastLevel()
public final Level getLastLevel(Angle latitude,
Angle longitude)
public final Level getLastLevel(Sector sector)
public final Level getLevel(int levelNumber)
public final 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 Object getValue(String key)
AVList
getValue 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)
AVList
setValue 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
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||