public final class LabelStyle
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
LabelStyle() |
| Modifier and Type | Method and Description |
|---|---|
LabelStyle |
clone() |
java.lang.String |
getColor()
Color of the text.
|
java.lang.String |
getColumn()
The column value of the feature to be displayed.
|
java.lang.String |
getFontStyle()
Font style of the label, defaults to 'normal'.
|
java.lang.String |
getFontWeight()
Font weight of the label, defaults to 'normal'.
|
java.lang.Double |
getOpacity()
Opacity of the text.
|
Color |
getOutline()
Outline color of the text.
|
java.lang.Double |
getSize()
Font size of the label, in pixels.
|
LabelStyle |
set(java.lang.String fieldName,
java.lang.Object value) |
LabelStyle |
setColor(java.lang.String color)
Color of the text.
|
LabelStyle |
setColumn(java.lang.String column)
The column value of the feature to be displayed.
|
LabelStyle |
setFontStyle(java.lang.String fontStyle)
Font style of the label, defaults to 'normal'.
|
LabelStyle |
setFontWeight(java.lang.String fontWeight)
Font weight of the label, defaults to 'normal'.
|
LabelStyle |
setOpacity(java.lang.Double opacity)
Opacity of the text.
|
LabelStyle |
setOutline(Color outline)
Outline color of the text.
|
LabelStyle |
setSize(java.lang.Double size)
Font size of the label, in pixels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getColor()
null for nonepublic LabelStyle setColor(java.lang.String color)
color - color or null for nonepublic java.lang.String getColumn()
null for nonepublic LabelStyle setColumn(java.lang.String column)
column - column or null for nonepublic java.lang.String getFontStyle()
null for nonepublic LabelStyle setFontStyle(java.lang.String fontStyle)
fontStyle - fontStyle or null for nonepublic java.lang.String getFontWeight()
null for nonepublic LabelStyle setFontWeight(java.lang.String fontWeight)
fontWeight - fontWeight or null for nonepublic java.lang.Double getOpacity()
null for nonepublic LabelStyle setOpacity(java.lang.Double opacity)
opacity - opacity or null for nonepublic Color getOutline()
null for nonepublic LabelStyle setOutline(Color outline)
outline - outline or null for nonepublic java.lang.Double getSize()
null for nonepublic LabelStyle setSize(java.lang.Double size)
size - size or null for nonepublic LabelStyle set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LabelStyle clone()
clone in class com.google.api.client.json.GenericJson