public class KMLGroundOverlay extends KMLAbstractOverlay implements KMLRenderable
| Modifier and Type | Field and Description |
|---|---|
protected KMLRenderable |
renderable |
balloon, region, styleSelectors, visibilityMSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGEDCHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description |
|---|
KMLGroundOverlay(java.lang.String namespaceURI)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyChange(KMLAbstractObject sourceValues) |
protected void |
doPreRender(KMLTraversalContext tc,
DrawContext dc)
Pre-renders the ground overlay geometry represented by this
KMLGroundOverlay. |
protected void |
doRender(KMLTraversalContext tc,
DrawContext dc)
Renders the ground overlay geometry represented by this
KMLGroundOverlay. |
java.lang.Double |
getAltitude() |
java.lang.String |
getAltitudeMode() |
KMLLatLonBox |
getLatLonBox() |
GXLatLongQuad |
getLatLonQuad() |
Position.PositionList |
getPositions()
Convenience method to get the positions defined by either
LatLonBox or gx:LatLonQuad. |
KMLRenderable |
getRenderable()
Get the renderable that represents the screen overlay.
|
protected void |
initializeRenderable(KMLTraversalContext tc)
Create the renderable that will represent the overlay.
|
void |
onChange(Message msg) |
getColor, getDrawOrder, getIconaddStyleSelector, doAddEventContent, getAddress, getAddressDetails, getAuthor, getBalloon, getDescription, getExtendedData, getLink, getName, getOpen, getPhoneNumber, getRegion, getSnippet, getSnippetText, getStyleSelectors, getStyleUrl, getSubStyle, getTimePrimitive, getView, getVisibility, hasStyle, hasStyleSelectors, isFeatureActive, mergeStyleSelectors, preRender, render, renderBalloon, setBalloon, setRegion, setTimePrimitive, setView, setVisibilitygetId, getRoot, getTargetId, onMessageallocate, doAddCharacters, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreRender, renderonMessageprotected KMLRenderable renderable
public KMLGroundOverlay(java.lang.String namespaceURI)
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.public void applyChange(KMLAbstractObject sourceValues)
applyChange in class KMLAbstractFeatureprotected void doPreRender(KMLTraversalContext tc, DrawContext dc)
KMLGroundOverlay. This initializes the
ground overlay geometry if necessary, prior to pre-rendering.doPreRender in class KMLAbstractFeaturetc - the current KML traversal context.dc - the current draw context.protected void doRender(KMLTraversalContext tc, DrawContext dc)
KMLGroundOverlay.doRender in class KMLAbstractFeaturetc - the current KML traversal context.dc - the current draw context.public java.lang.Double getAltitude()
public java.lang.String getAltitudeMode()
public KMLLatLonBox getLatLonBox()
public GXLatLongQuad getLatLonQuad()
public Position.PositionList getPositions()
LatLonBox or gx:LatLonQuad. If the
overlay includes a LatLonBox element, this method returns the corners of the sector defined by the LatLonBox. Otherwise, if the overlay contains a gx:LatLonQuad, this method returns the positions defined
by the quad.public KMLRenderable getRenderable()
protected void initializeRenderable(KMLTraversalContext tc)
tc - the current KML traversal context.public void onChange(Message msg)
onChange in class KMLAbstractObject