public class KMLScreenOverlay extends KMLAbstractOverlay
Modifier and Type | Field and Description |
---|---|
protected KMLRenderable |
renderable |
balloon, region, styleSelectors, visibility
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGED
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLScreenOverlay(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 screen overlay geometry represented by this
KMLScreenOverlay . |
protected void |
doRender(KMLTraversalContext tc,
DrawContext dc)
Renders the screen overlay geometry represented by this
KMLScreenOverlay . |
KMLVec2 |
getOverlayXY() |
KMLRenderable |
getRenderable()
Get the renderable that represents the screen overlay.
|
java.lang.Double |
getRotation() |
KMLVec2 |
getRotationXY() |
KMLVec2 |
getScreenXY() |
KMLVec2 |
getSize() |
protected void |
initializeRenderable(KMLTraversalContext tc)
Create the renderable that will represent the overlay.
|
void |
onChange(Message msg) |
getColor, getDrawOrder, getIcon
addStyleSelector, 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, setVisibility
getId, getRoot, getTargetId, onMessage
allocate, 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, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMessage
protected KMLRenderable renderable
public KMLScreenOverlay(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 KMLAbstractFeature
protected void doPreRender(KMLTraversalContext tc, DrawContext dc)
KMLScreenOverlay
. This initializes the
screen overlay geometry if necessary, prior to pre-rendering.doPreRender
in class KMLAbstractFeature
tc
- the current KML traversal context.dc
- the current draw context.protected void doRender(KMLTraversalContext tc, DrawContext dc)
KMLScreenOverlay
.doRender
in class KMLAbstractFeature
tc
- the current KML traversal context.dc
- the current draw context.public KMLVec2 getOverlayXY()
public KMLRenderable getRenderable()
public java.lang.Double getRotation()
public KMLVec2 getRotationXY()
public KMLVec2 getScreenXY()
public KMLVec2 getSize()
protected void initializeRenderable(KMLTraversalContext tc)
tc
- the current KML traversal context.public void onChange(Message msg)
onChange
in class KMLAbstractObject