public class KMLSurfaceImageImpl extends SurfaceImage implements KMLRenderable
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | attributesResolved | 
| protected long | iconRetrievalTimeIndicates the time at which the image source was specified. | 
| protected boolean | mustApplyRotationFlag to indicate the rotation must be applied to the SurfaceImage. | 
| protected KMLGroundOverlay | parent | 
| protected boolean | textureResolvedIndicates that the source texture has been resolved and loaded. | 
alwaysOnTop, corners, dragEnabled, draggableSupport, generatedTexture, generatedTextureExpired, imageSource, pickLayer, pickSupport, previousGeneratedTexture, previousSourceTexture, sourceTexture, thisListFORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED| Constructor and Description | 
|---|
| KMLSurfaceImageImpl(KMLTraversalContext tc,
                   KMLGroundOverlay overlay)Create an screen image. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | applyRotation(DrawContext dc)Apply a rotation to the corner points of the overlay. | 
| 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. | 
applyInternalTransform, bind, dispose, doDrag, drag, draw, equals, export, exportAsKML, exportKMLLatLonBox, exportKMLLatLonQuad, getCorners, getDistanceFromEye, getExtent, getImageSource, getOpacity, getReferencePosition, getSector, hashCode, initializeGeneratedTexture, initializeGeometry, initializeSourceTexture, isAlwaysOnTop, isDragEnabled, isExportFormatSupported, isPickEnabled, move, moveTo, pick, preRender, render, setAlwaysOnTop, setCorners, setDragEnabled, setImageSource, setImageSource, setOpacity, setPickEnabled, setReferencePositiononMessage, 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, finalize, getClass, notify, notifyAll, toString, wait, wait, waitonMessageaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected boolean attributesResolved
protected long iconRetrievalTime
protected boolean mustApplyRotation
protected KMLGroundOverlay parent
protected boolean textureResolved
public KMLSurfaceImageImpl(KMLTraversalContext tc, KMLGroundOverlay 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 void applyRotation(DrawContext dc)
dc - Current draw context.protected boolean mustResolveHref()
public void preRender(KMLTraversalContext tc, DrawContext dc)
KMLRenderablepreRender 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()