public final class Border 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 |
|---|
Border() |
| Modifier and Type | Method and Description |
|---|---|
Border |
clone() |
String |
getColor()
Color of the border.
|
Double |
getOpacity()
Opacity of the border.
|
Double |
getWidth()
Width of the border, in pixels.
|
Border |
set(String fieldName,
Object value) |
Border |
setColor(String color)
Color of the border.
|
Border |
setOpacity(Double opacity)
Opacity of the border.
|
Border |
setWidth(Double width)
Width of the border, 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 Border setColor(String color)
color - color or null for nonepublic Double getOpacity()
null for nonepublic Border setOpacity(Double opacity)
opacity - opacity or null for nonepublic Double getWidth()
null for nonepublic Border setWidth(Double width)
width - width or null for nonepublic Border set(String fieldName, Object value)
set in class GenericJsonpublic Border clone()
clone in class GenericJson