Package gov.nasa.worldwind.symbology
Class AbstractTacticalSymbol.IconAtlasElement
- java.lang.Object
-
- gov.nasa.worldwind.util.TextureAtlasElement
-
- gov.nasa.worldwind.symbology.AbstractTacticalSymbol.IconAtlasElement
-
- All Implemented Interfaces:
Disposable
- Enclosing class:
- AbstractTacticalSymbol
protected static class AbstractTacticalSymbol.IconAtlasElement extends TextureAtlasElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.util.TextureAtlasElement
TextureAtlasElement.RequestTask
-
-
Field Summary
Fields Modifier and Type Field Description protected longlastUsedIndicates the last time, in milliseconds, the element was requested or added.protected java.awt.Pointpoint-
Fields inherited from class gov.nasa.worldwind.util.TextureAtlasElement
atlas, image, imageInitializationFailed, imageSource, listener
-
-
Constructor Summary
Constructors Constructor Description IconAtlasElement(TextureAtlas atlas, AbstractTacticalSymbol.IconSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.image.BufferedImagecreateModifierImage()java.awt.PointgetPoint()protected booleanloadImage()Loads this element's image source into itsimageproperty.voidsetPoint(java.awt.Point point)-
Methods inherited from class gov.nasa.worldwind.util.TextureAtlasElement
addAtlasImage, createRequestTask, dispose, equals, getImage, getImageSource, getSize, getTexCoords, getTextureAtlas, hashCode, isBufferedImageSource, isImageInitializationFailed, load, notifyImageLoaded, readImage, requestImage, setImage, toString
-
-
-
-
Constructor Detail
-
IconAtlasElement
public IconAtlasElement(TextureAtlas atlas, AbstractTacticalSymbol.IconSource source)
-
-
Method Detail
-
getPoint
public java.awt.Point getPoint()
-
setPoint
public void setPoint(java.awt.Point point)
-
loadImage
protected boolean loadImage()
Description copied from class:TextureAtlasElementLoads this element's image source into itsimageproperty. If the image source is a remote resource, this initiates a request for it and returnsnull.- Overrides:
loadImagein classTextureAtlasElement- Returns:
trueif the image source has been loaded successfully, andfalseotherwise.
-
createModifierImage
protected java.awt.image.BufferedImage createModifierImage()
-
-