Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables.model
Class Bucket

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.fusiontables.model.Bucket
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class Bucket
extends GenericJson

Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.

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-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
Bucket()
           
 
Method Summary
 java.lang.String getColor()
          Color of line or the interior of a polygon in #RRGGBB format.
 java.lang.String getIcon()
          Icon name used for a point.
 java.lang.Double getMax()
          Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.
 java.lang.Double getMin()
          Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.
 java.lang.Double getOpacity()
          Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
 java.lang.Integer getWeight()
          Width of a line (in pixels).
 Bucket setColor(java.lang.String color)
          Color of line or the interior of a polygon in #RRGGBB format.
 Bucket setIcon(java.lang.String icon)
          Icon name used for a point.
 Bucket setMax(java.lang.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(java.lang.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(java.lang.Double opacity)
          Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
 Bucket setWeight(java.lang.Integer weight)
          Width of a line (in pixels).
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bucket

public Bucket()
Method Detail

getColor

public java.lang.String getColor()
Color of line or the interior of a polygon in #RRGGBB format. The value returned may be null.


setColor

public Bucket setColor(java.lang.String color)
Color of line or the interior of a polygon in #RRGGBB format. The value set may be null.


getIcon

public java.lang.String getIcon()
Icon name used for a point. The value returned may be null.


setIcon

public Bucket setIcon(java.lang.String icon)
Icon name used for a point. The value set may be null.


getMax

public java.lang.Double getMax()
Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. The value returned may be null.


setMax

public Bucket setMax(java.lang.Double max)
Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. The value set may be null.


getMin

public java.lang.Double getMin()
Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. The value returned may be null.


setMin

public Bucket setMin(java.lang.Double min)
Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. The value set may be null.


getOpacity

public java.lang.Double getOpacity()
Opacity of the color: 0.0 (transparent) to 1.0 (opaque). The value returned may be null.


setOpacity

public Bucket setOpacity(java.lang.Double opacity)
Opacity of the color: 0.0 (transparent) to 1.0 (opaque). The value set may be null.


getWeight

public java.lang.Integer getWeight()
Width of a line (in pixels). The value returned may be null.


setWeight

public Bucket setWeight(java.lang.Integer weight)
Width of a line (in pixels). The value set may be null.