Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables.model
Class StyleFunction.Gradient

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.StyleFunction.Gradient
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
Enclosing class:
StyleFunction

public static final class StyleFunction.Gradient
extends GenericJson

Gradient function that interpolates a range of colors based on column value.


Nested Class Summary
static class StyleFunction.Gradient.Colors
          Model definition for StyleFunctionGradientColors.
 
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
StyleFunction.Gradient()
           
 
Method Summary
 java.util.List<StyleFunction.Gradient.Colors> getColors()
          Array with two or more colors.
 java.lang.Double getMax()
          Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].
 java.lang.Double getMin()
          Lower-end of the interpolation range: rows with this value will be assigned to colors[0].
 StyleFunction.Gradient setColors(java.util.List<StyleFunction.Gradient.Colors> colors)
          Array with two or more colors.
 StyleFunction.Gradient setMax(java.lang.Double max)
          Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].
 StyleFunction.Gradient setMin(java.lang.Double min)
          Lower-end of the interpolation range: rows with this value will be assigned to colors[0].
 
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

StyleFunction.Gradient

public StyleFunction.Gradient()
Method Detail

getColors

public java.util.List<StyleFunction.Gradient.Colors> getColors()
Array with two or more colors. The value returned may be null.


setColors

public StyleFunction.Gradient setColors(java.util.List<StyleFunction.Gradient.Colors> colors)
Array with two or more colors. The value set may be null.


getMax

public java.lang.Double getMax()
Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. The value returned may be null.


setMax

public StyleFunction.Gradient setMax(java.lang.Double max)
Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. The value set may be null.


getMin

public java.lang.Double getMin()
Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. The value returned may be null.


setMin

public StyleFunction.Gradient setMin(java.lang.Double min)
Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. The value set may be null.