Package gov.nasa.worldwind.symbology
Class AbstractTacticalSymbol.IconTexture
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.render.LazilyLoadedTexture
-
- gov.nasa.worldwind.symbology.AbstractTacticalSymbol.IconTexture
-
- Enclosing class:
- AbstractTacticalSymbol
protected static class AbstractTacticalSymbol.IconTexture extends LazilyLoadedTexture
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractTacticalSymbol.IconTexture.IconRequestTask
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture
LazilyLoadedTexture.RequestTask
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture
fileLock, fileStore, hasMipmapData, height, imageSource, listener, texCoords, textureData, textureInitializationFailed, useAnisotropy, useMipMaps, width
-
-
Constructor Summary
Constructors Constructor Description IconTexture(AbstractTacticalSymbol.IconSource imageSource)
IconTexture(AbstractTacticalSymbol.IconSource imageSource, boolean useMipMaps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.jogamp.opengl.util.texture.TextureData
createIconTextureData()
protected java.lang.Runnable
createRequestTask()
Returns an object that implements the Runnable interface, and who'srun
method retrieves and loads this texture's image source.protected boolean
loadTextureData()
-
Methods inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture
applyInternalTransform, bind, equals, getHeight, getHeight, getImageSource, getTexCoords, getTexture, getTextureData, getWidth, getWidth, hashCode, initialize, isBufferedImageSource, isTextureCurrent, isTextureInitializationFailed, isUseAnisotropy, isUseMipMaps, loadTextureData, makeBufferedImageTexture, makeTextureFromTextureData, notifyTextureLoaded, readImage, requestTexture, setTextureData, setTextureParameters, setUseAnisotropy
-
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, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
-
-
-
Constructor Detail
-
IconTexture
public IconTexture(AbstractTacticalSymbol.IconSource imageSource)
-
IconTexture
public IconTexture(AbstractTacticalSymbol.IconSource imageSource, boolean useMipMaps)
-
-
Method Detail
-
loadTextureData
protected boolean loadTextureData()
-
createIconTextureData
protected com.jogamp.opengl.util.texture.TextureData createIconTextureData()
-
createRequestTask
protected java.lang.Runnable createRequestTask()
Description copied from class:LazilyLoadedTexture
Returns an object that implements the Runnable interface, and who'srun
method retrieves and loads this texture's image source.- Overrides:
createRequestTask
in classLazilyLoadedTexture
- Returns:
- a new request task that retrieves and loads this texture's image source.
-
-