public class KMLListStyle extends KMLAbstractSubStyle
Modifier and Type | Field and Description |
---|---|
protected List<KMLItemIcon> |
itemIcons |
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 |
---|
KMLListStyle(String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addItemIcon(KMLItemIcon o) |
void |
applyChange(KMLAbstractObject sourceValues) |
protected void |
doAddEventContent(Object o,
XMLEventParserContext ctx,
XMLEvent event,
Object... args) |
String |
getBgColor() |
List<KMLItemIcon> |
getItemIcons() |
String |
getListItemType() |
Integer |
getMaxSnippetLines() |
protected void |
mergeItemIcons(KMLListStyle sourceStyle)
Merge a list of incoming item icons with the current list.
|
getId, getRoot, getTargetId, onChange, 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
protected List<KMLItemIcon> itemIcons
public KMLListStyle(String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.protected void addItemIcon(KMLItemIcon o)
public void applyChange(KMLAbstractObject sourceValues)
applyChange
in class KMLAbstractSubStyle
protected void doAddEventContent(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
doAddEventContent
in class AbstractXMLEventParser
XMLStreamException
public String getBgColor()
public List<KMLItemIcon> getItemIcons()
public String getListItemType()
public Integer getMaxSnippetLines()
protected void mergeItemIcons(KMLListStyle sourceStyle)
sourceStyle
- the incoming item icons.