Fusion Tables API v1 (revision 16)



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

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

public static final class StyleFunction.Gradient.Colors
extends GenericJson

Model definition for StyleFunctionGradientColors.


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
StyleFunction.Gradient.Colors()
           
 
Method Summary
 java.lang.String getColor()
          Color in #RRGGBB format.
 java.lang.Double getOpacity()
          Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
 StyleFunction.Gradient.Colors setColor(java.lang.String color)
          Color in #RRGGBB format.
 StyleFunction.Gradient.Colors setOpacity(java.lang.Double opacity)
          Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
 
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.Colors

public StyleFunction.Gradient.Colors()
Method Detail

getColor

public java.lang.String getColor()
Color in #RRGGBB format. The value returned may be null.


setColor

public StyleFunction.Gradient.Colors setColor(java.lang.String color)
Color in #RRGGBB format. 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 StyleFunction.Gradient.Colors setOpacity(java.lang.Double opacity)
Opacity of the color: 0.0 (transparent) to 1.0 (opaque). The value set may be null.