public final class LabelStyle extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LabelStyle() |
| Modifier and Type | Method and Description |
|---|---|
LabelStyle |
clone() |
String |
getColor()
Color of the text.
|
String |
getColumn()
The column value of the feature to be displayed.
|
String |
getFontStyle()
Font style of the label, defaults to 'normal'.
|
String |
getFontWeight()
Font weight of the label, defaults to 'normal'.
|
Double |
getOpacity()
Opacity of the text.
|
Color |
getOutline()
Outline color of the text.
|
Double |
getSize()
Font size of the label, in pixels.
|
LabelStyle |
set(String fieldName,
Object value) |
LabelStyle |
setColor(String color)
Color of the text.
|
LabelStyle |
setColumn(String column)
The column value of the feature to be displayed.
|
LabelStyle |
setFontStyle(String fontStyle)
Font style of the label, defaults to 'normal'.
|
LabelStyle |
setFontWeight(String fontWeight)
Font weight of the label, defaults to 'normal'.
|
LabelStyle |
setOpacity(Double opacity)
Opacity of the text.
|
LabelStyle |
setOutline(Color outline)
Outline color of the text.
|
LabelStyle |
setSize(Double size)
Font size of the label, in pixels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getColor()
null for nonepublic LabelStyle setColor(String color)
color - color or null for nonepublic String getColumn()
null for nonepublic LabelStyle setColumn(String column)
column - column or null for nonepublic String getFontStyle()
null for nonepublic LabelStyle setFontStyle(String fontStyle)
fontStyle - fontStyle or null for nonepublic String getFontWeight()
null for nonepublic LabelStyle setFontWeight(String fontWeight)
fontWeight - fontWeight or null for nonepublic Double getOpacity()
null for nonepublic LabelStyle setOpacity(Double opacity)
opacity - opacity or null for nonepublic Color getOutline()
null for nonepublic LabelStyle setOutline(Color outline)
outline - outline or null for nonepublic Double getSize()
null for nonepublic LabelStyle setSize(Double size)
size - size or null for nonepublic LabelStyle set(String fieldName, Object value)
set in class GenericJsonpublic LabelStyle clone()
clone in class GenericJson