NASA World Wind

gov.nasa.worldwind.symbology
Class AbstractTacticalSymbol.IconAtlasElement

java.lang.Object
  extended by gov.nasa.worldwind.util.TextureAtlasElement
      extended by 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
protected  long lastUsed
          Indicates the last time, in milliseconds, the element was requested or added.
protected  Point point
           
 
Fields inherited from class gov.nasa.worldwind.util.TextureAtlasElement
atlas, image, imageInitializationFailed, imageSource, listener
 
Constructor Summary
AbstractTacticalSymbol.IconAtlasElement(TextureAtlas atlas, AbstractTacticalSymbol.IconSource source)
           
 
Method Summary
protected  BufferedImage createModifierImage()
           
 Point getPoint()
           
protected  boolean loadImage()
          Loads this element's image source into its image property.
 void setPoint(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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lastUsed

protected long lastUsed
Indicates the last time, in milliseconds, the element was requested or added.


point

protected Point point
Constructor Detail

AbstractTacticalSymbol.IconAtlasElement

public AbstractTacticalSymbol.IconAtlasElement(TextureAtlas atlas,
                                               AbstractTacticalSymbol.IconSource source)
Method Detail

createModifierImage

protected BufferedImage createModifierImage()

getPoint

public Point getPoint()

loadImage

protected boolean loadImage()
Description copied from class: TextureAtlasElement
Loads this element's image source into its image property. If the image source is a remote resource, this initiates a request for it and returns null.

Overrides:
loadImage in class TextureAtlasElement
Returns:
true if the image source has been loaded successfully, and false otherwise.

setPoint

public void setPoint(Point point)

NASA World Wind