NASA World Wind

gov.nasa.worldwind.render
Class AbstractSurfaceObject.CacheEntry

java.lang.Object
  extended by gov.nasa.worldwind.render.AbstractSurfaceObject.CacheEntry
Enclosing class:
AbstractSurfaceObject

protected static class AbstractSurfaceObject.CacheEntry
extends Object

Represents a globe dependent cache entry.


Field Summary
protected  Object globeStateKey
           
 Object object
           
 
Constructor Summary
AbstractSurfaceObject.CacheEntry(Object object, DrawContext dc)
           
 
Method Summary
protected  boolean isValid(DrawContext dc)
          Determines if this cache entry is valid for the specified drawing context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globeStateKey

protected Object globeStateKey

object

public Object object
Constructor Detail

AbstractSurfaceObject.CacheEntry

public AbstractSurfaceObject.CacheEntry(Object object,
                                        DrawContext dc)
Method Detail

isValid

protected boolean isValid(DrawContext dc)
Determines if this cache entry is valid for the specified drawing context. The entry depends on the state of the globe used to compute it.

Parameters:
dc - the current drawing context.
Returns:
true if this cache entry is valid; false otherwise;

NASA World Wind