Class TLspGLResourceCacheEvent
java.lang.Object
com.luciad.view.lightspeed.services.glcache.TLspGLResourceCacheEvent
Event describing a change in resource storage or usage
of an
ILspGLResourceCache
.- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Describes the type of event. -
Constructor Summary
ConstructorDescriptionTLspGLResourceCacheEvent
(TLspGLResourceCacheEvent.Type aType, ALspGLResource aResource) Creates a new resource cache event of the given type for the given resource. -
Method Summary
-
Constructor Details
-
TLspGLResourceCacheEvent
Creates a new resource cache event of the given type for the given resource.- Parameters:
aType
- type indicating whether the resource was just added, used, or removedaResource
- the resource
-
-
Method Details
-
getType
Gets the type of this event. Indicates whether the corresponding resource was added, used, or removed.- Returns:
- Indicates whether the corresponding resource was added, used, or removed
-
getResource
Gets the resource.- Returns:
- the resource
-