public final class Bucket 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 Fusion Tables 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 |
|---|
Bucket() |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
clone() |
String |
getColor()
Color of line or the interior of a polygon in #RRGGBB format.
|
String |
getIcon()
Icon name used for a point.
|
Double |
getMax()
Maximum value in the selected column for a row to be styled according to the bucket color,
opacity, icon, or weight.
|
Double |
getMin()
Minimum value in the selected column for a row to be styled according to the bucket color,
opacity, icon, or weight.
|
Double |
getOpacity()
Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
Integer |
getWeight()
Width of a line (in pixels).
|
Bucket |
set(String fieldName,
Object value) |
Bucket |
setColor(String color)
Color of line or the interior of a polygon in #RRGGBB format.
|
Bucket |
setIcon(String icon)
Icon name used for a point.
|
Bucket |
setMax(Double max)
Maximum value in the selected column for a row to be styled according to the bucket color,
opacity, icon, or weight.
|
Bucket |
setMin(Double min)
Minimum value in the selected column for a row to be styled according to the bucket color,
opacity, icon, or weight.
|
Bucket |
setOpacity(Double opacity)
Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
Bucket |
setWeight(Integer weight)
Width of a line (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 Bucket setColor(String color)
color - color or null for nonepublic String getIcon()
null for nonepublic Bucket setIcon(String icon)
icon - icon or null for nonepublic Double getMax()
null for nonepublic Bucket setMax(Double max)
max - max or null for nonepublic Double getMin()
null for nonepublic Bucket setMin(Double min)
min - min or null for nonepublic Double getOpacity()
null for nonepublic Bucket setOpacity(Double opacity)
opacity - opacity or null for nonepublic Integer getWeight()
null for nonepublic Bucket setWeight(Integer weight)
weight - weight or null for nonepublic Bucket set(String fieldName, Object value)
set in class GenericJsonpublic Bucket clone()
clone in class GenericJson