public class KMLPlacemark extends KMLAbstractFeature
Modifier and Type | Field and Description |
---|---|
protected KMLAbstractGeometry |
geometry |
protected List<KMLRenderable> |
renderables |
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 |
---|
KMLPlacemark(String namespaceURI)
Construct an instance.
|
addStyleSelector, 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 KMLAbstractGeometry geometry
protected List<KMLRenderable> renderables
public KMLPlacemark(String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.protected void addRenderable(KMLRenderable r)
public void applyChange(KMLAbstractObject sourceValues)
applyChange
in class KMLAbstractFeature
protected void doAddEventContent(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
doAddEventContent
in class KMLAbstractFeature
XMLStreamException
protected void doPreRender(KMLTraversalContext tc, DrawContext dc)
KMLPlacemark
. This initializes the placemark
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)
KMLGroundOverlay
.doRender
in class KMLAbstractFeature
tc
- the current KML traversal context.dc
- the current draw context.public KMLAbstractGeometry getGeometry()
public List<KMLRenderable> getRenderables()
KMLRenderable
s of this placemark.public KMLSimpleData getSimpleData()
protected void initializeGeometry(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected boolean isValidAltitudeMode(String altMode)
altMode
- Altitude mode test.altMode
is one of "clampToGround", "relativeToGround", or "absolute".public void onChange(Message msg)
onChange
in class KMLAbstractObject
protected KMLRenderable selectLinearRingRenderable(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected KMLRenderable selectLineStringRenderable(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected KMLRenderable selectModelRenderable(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected KMLRenderable selectPointRenderable(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected KMLRenderable selectPolygonRenderable(KMLTraversalContext tc, KMLAbstractGeometry geom)
protected void setGeometry(KMLAbstractGeometry geometry)