public final class Border
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 |
|---|
Border() |
| Modifier and Type | Method and Description |
|---|---|
Border |
clone() |
java.lang.String |
getColor()
Color of the border.
|
java.lang.Double |
getOpacity()
Opacity of the border.
|
java.lang.Double |
getWidth()
Width of the border, in pixels.
|
Border |
set(java.lang.String fieldName,
java.lang.Object value) |
Border |
setColor(java.lang.String color)
Color of the border.
|
Border |
setOpacity(java.lang.Double opacity)
Opacity of the border.
|
Border |
setWidth(java.lang.Double width)
Width of the border, in pixels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getColor()
null for nonepublic Border setColor(java.lang.String color)
color - color or null for nonepublic java.lang.Double getOpacity()
null for nonepublic Border setOpacity(java.lang.Double opacity)
opacity - opacity or null for nonepublic java.lang.Double getWidth()
null for nonepublic Border setWidth(java.lang.Double width)
width - width or null for nonepublic Border set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Border clone()
clone in class com.google.api.client.json.GenericJson