public class StyleMap extends StyleSelector implements Cloneable
A
<StyleMap id="ID">
<!-- extends StyleSelector -->
<!-- elements specific to StyleMap -->
<Pair id="ID">
<key>normal</key> <!-- kml:styleStateEnum: normal or highlight -->
<styleUrl>...</styleUrl> or <Style>...</Style>
</Pair>
</StyleMap>
Extends:| Modifier and Type | Field and Description |
|---|---|
protected List<Pair> |
pair
|
protected List<AbstractObject> |
styleMapObjectExtension
|
protected List<Object> |
styleMapSimpleExtension |
styleSelectorObjectExtension, styleSelectorSimpleExtensionid, objectSimpleExtension, targetId| Constructor and Description |
|---|
StyleMap() |
| Modifier and Type | Method and Description |
|---|---|
StyleMap |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
StyleMap |
addToPair(Pair pair)
add a value to the pair property collection
|
StyleMap |
addToStyleMapObjectExtension(AbstractObject styleMapObjectExtension)
add a value to the styleMapObjectExtension property collection
|
StyleMap |
addToStyleMapSimpleExtension(Object styleMapSimpleExtension)
add a value to the styleMapSimpleExtension property collection
|
StyleMap |
addToStyleSelectorObjectExtension(AbstractObject styleSelectorObjectExtension)
add a value to the styleSelectorObjectExtension property collection
|
StyleMap |
addToStyleSelectorSimpleExtension(Object styleSelectorSimpleExtension)
add a value to the styleSelectorSimpleExtension property collection
|
StyleMap |
clone() |
Pair |
createAndAddPair()
Creates a new instance of
Pair and adds it to pair. |
boolean |
equals(Object obj) |
List<Pair> |
getPair() |
List<AbstractObject> |
getStyleMapObjectExtension() |
List<Object> |
getStyleMapSimpleExtension() |
int |
hashCode() |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setPair(List<Pair> pair) |
void |
setStyleMapObjectExtension(List<AbstractObject> styleMapObjectExtension) |
void |
setStyleMapSimpleExtension(List<Object> styleMapSimpleExtension) |
void |
setStyleSelectorObjectExtension(List<AbstractObject> styleSelectorObjectExtension) |
void |
setStyleSelectorSimpleExtension(List<Object> styleSelectorSimpleExtension) |
StyleMap |
withId(String id)
fluent setter
|
StyleMap |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
StyleMap |
withPair(List<Pair> pair)
fluent setter
|
StyleMap |
withStyleMapObjectExtension(List<AbstractObject> styleMapObjectExtension)
fluent setter
|
StyleMap |
withStyleMapSimpleExtension(List<Object> styleMapSimpleExtension)
fluent setter
|
StyleMap |
withStyleSelectorObjectExtension(List<AbstractObject> styleSelectorObjectExtension)
fluent setter
|
StyleMap |
withStyleSelectorSimpleExtension(List<Object> styleSelectorSimpleExtension)
fluent setter
|
StyleMap |
withTargetId(String targetId)
fluent setter
|
getStyleSelectorObjectExtension, getStyleSelectorSimpleExtensiongetId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected List<Pair> pair
Defines a key/value pair that maps a mode (normal or highlight) to the predefined
protected List<AbstractObject> styleMapObjectExtension
public List<Object> getStyleMapSimpleExtension()
styleMapSimpleExtensionpublic List<AbstractObject> getStyleMapObjectExtension()
styleMapObjectExtensionpublic int hashCode()
hashCode in class StyleSelectorpublic boolean equals(Object obj)
equals in class StyleSelectorpublic Pair createAndAddPair()
Pair and adds it to pair.
This method is a short version for:
Pair pair = new Pair();
this.getPair().add(pair); public StyleMap addToPair(Pair pair)
pair - Objects of the following type are allowed in the list: Pairpublic void setStyleMapSimpleExtension(List<Object> styleMapSimpleExtension)
styleMapSimpleExtension - styleMapSimpleExtensionpublic StyleMap addToStyleMapSimpleExtension(Object styleMapSimpleExtension)
styleMapSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setStyleMapObjectExtension(List<AbstractObject> styleMapObjectExtension)
styleMapObjectExtension - styleMapObjectExtensionpublic StyleMap addToStyleMapObjectExtension(AbstractObject styleMapObjectExtension)
styleMapObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class StyleSelectorobjectSimpleExtensionpublic StyleMap addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class StyleSelectorobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setStyleSelectorSimpleExtension(List<Object> styleSelectorSimpleExtension)
setStyleSelectorSimpleExtension in class StyleSelectorstyleSelectorSimpleExtensionpublic StyleMap addToStyleSelectorSimpleExtension(Object styleSelectorSimpleExtension)
StyleSelectoraddToStyleSelectorSimpleExtension in class StyleSelectorstyleSelectorSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setStyleSelectorObjectExtension(List<AbstractObject> styleSelectorObjectExtension)
setStyleSelectorObjectExtension in class StyleSelectorstyleSelectorObjectExtensionpublic StyleMap addToStyleSelectorObjectExtension(AbstractObject styleSelectorObjectExtension)
StyleSelectoraddToStyleSelectorObjectExtension in class StyleSelectorstyleSelectorObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic StyleMap withPair(List<Pair> pair)
pair - required parameter#setPair(List) public StyleMap withStyleMapSimpleExtension(List<Object> styleMapSimpleExtension)
styleMapSimpleExtension - required parameter#setStyleMapSimpleExtension(Listpublic StyleMap withStyleMapObjectExtension(List<AbstractObject> styleMapObjectExtension)
styleMapObjectExtension - required parameter#setStyleMapObjectExtension(List) public StyleMap withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class StyleSelectorobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic StyleMap withId(String id)
AbstractObjectwithId in class StyleSelectorid - required parameterAbstractObject.setId(String)public StyleMap withTargetId(String targetId)
AbstractObjectwithTargetId in class StyleSelectortargetId - required parameterAbstractObject.setTargetId(String)public StyleMap withStyleSelectorSimpleExtension(List<Object> styleSelectorSimpleExtension)
StyleSelectorwithStyleSelectorSimpleExtension in class StyleSelectorstyleSelectorSimpleExtension - required parameter#setStyleSelectorSimpleExtension(Listpublic StyleMap withStyleSelectorObjectExtension(List<AbstractObject> styleSelectorObjectExtension)
StyleSelectorwithStyleSelectorObjectExtension in class StyleSelectorstyleSelectorObjectExtension - required parameter#setStyleSelectorObjectExtension(List) public StyleMap clone()
clone in class StyleSelectorCopyright © 2014 Micromata GmbH. All rights reserved.