public class KMLScreenImageImpl extends ScreenImage implements KMLRenderable
ScreenImage.OrderedImage| Modifier and Type | Field and Description | 
|---|---|
| protected long | iconRetrievalTimeIndicates the time at which the image source was specified. | 
| protected static int | KML_MAINTAIN_ASPECT_RATIOSize value that KML uses to indicate that the image aspect ration should be maintained. | 
| protected static int | KML_NATIVE_DIMENSIONSize value that KML uses to indicate that the native image dimension should be maintained. | 
| protected KMLScreenOverlay | parent | 
awtScreenLocation, color, delegateOwner, dx, dy, frameNumber, height, imageOffset, imageSource, opacity, orderedImage, originalImageHeight, originalImageWidth, pickLayer, pickSupport, rotation, rotationOffset, rotationPoint, screenLocation, screenOffset, size, texture, widthFORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED| Constructor and Description | 
|---|
| KMLScreenImageImpl(KMLTraversalContext tc,
                  KMLScreenOverlay overlay)Create an screen image. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getSizeMode(Double size)Get the size mode for a size parameter. | 
| protected BasicWWTexture | initializeTexture()Create and initialize the texture from the image source. | 
| protected boolean | mustResolveHref()Indicates whether or not the image source needs to be resolved. | 
| void | preRender(KMLTraversalContext tc,
         DrawContext dc)Pre-render this element. | 
| void | render(KMLTraversalContext tc,
      DrawContext dc)Render this element. | 
| protected String | resolveHref()Resolve the HREF in this overlay's Icon element against the KML root. | 
computeOffsets, doRender, draw, export, exportAsKML, getColor, getDelegateOwner, getImageHeight, getImageOffset, getImageSource, getImageWidth, getOpacity, getRotation, getRotationOffset, getScreenLocation, getScreenLocation, getScreenOffset, getSize, getTexture, isExportFormatSupported, pick, render, setColor, setDelegateOwner, setImageOffset, setImageSource, setOpacity, setRotation, setRotationOffset, setScreenLocation, setScreenOffset, setSizeonMessage, propertyChangeaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonMessageaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected long iconRetrievalTime
protected static final int KML_MAINTAIN_ASPECT_RATIO
protected static final int KML_NATIVE_DIMENSION
protected final KMLScreenOverlay parent
public KMLScreenImageImpl(KMLTraversalContext tc, KMLScreenOverlay overlay)
tc - the current KMLTraversalContext.overlay - the Overlay element containing.NullPointerException - if the traversal context is null.IllegalArgumentException - if the parent overlay or the traversal context is null.protected String getSizeMode(Double size)
size - The KML size attributeSize.NATIVE_DIMENSION, Size.MAINTAIN_ASPECT_RATIO,
         or Size.EXPLICIT_DIMENSION.protected BasicWWTexture initializeTexture()
initializeTexture in class ScreenImageprotected boolean mustResolveHref()
public void preRender(KMLTraversalContext tc, DrawContext dc)
preRender in interface KMLRenderabletc - the current KML traversal context.dc - the current draw context.public void render(KMLTraversalContext tc, DrawContext dc)
render in interface KMLRenderabletc - the current KML traversal context.dc - the current draw context.protected String resolveHref()