protected static class AbstractTacticalSymbol.IconAtlasElement extends TextureAtlasElement
TextureAtlasElement.RequestTask| Modifier and Type | Field and Description |
|---|---|
protected long |
lastUsed
Indicates the last time, in milliseconds, the element was requested or added.
|
protected java.awt.Point |
point |
atlas, image, imageInitializationFailed, imageSource, listener| Constructor and Description |
|---|
IconAtlasElement(TextureAtlas atlas,
AbstractTacticalSymbol.IconSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.image.BufferedImage |
createModifierImage() |
java.awt.Point |
getPoint() |
protected boolean |
loadImage()
Loads this element's image source into its
image property. |
void |
setPoint(java.awt.Point point) |
addAtlasImage, createRequestTask, dispose, equals, getImage, getImageSource, getSize, getTexCoords, getTextureAtlas, hashCode, isBufferedImageSource, isImageInitializationFailed, load, notifyImageLoaded, readImage, requestImage, setImage, toStringprotected long lastUsed
protected java.awt.Point point
public IconAtlasElement(TextureAtlas atlas, AbstractTacticalSymbol.IconSource source)
protected java.awt.image.BufferedImage createModifierImage()
public java.awt.Point getPoint()
protected boolean loadImage()
TextureAtlasElementimage property. If the image source is a remote resource,
this initiates a request for it and returns null.loadImage in class TextureAtlasElementtrue if the image source has been loaded successfully, and false otherwise.public void setPoint(java.awt.Point point)