Fusion Tables API v1 (revision 16)



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

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

public final class StyleSetting
extends GenericJson

Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.

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
StyleSetting()
           
 
Method Summary
 java.lang.String getKind()
          Type name: an individual style setting.
 PointStyle getMarkerOptions()
          Style definition for points in the table.
 java.lang.String getName()
          Optional name for the style setting.
 PolygonStyle getPolygonOptions()
          Style definition for polygons in the table.
 LineStyle getPolylineOptions()
          Style definition for lines in the table.
 java.lang.Integer getStyleId()
          Identifier for the style setting (unique only within tables).
 java.lang.String getTableId()
          Identifier for the table.
 StyleSetting setKind(java.lang.String kind)
          Type name: an individual style setting.
 StyleSetting setMarkerOptions(PointStyle markerOptions)
          Style definition for points in the table.
 StyleSetting setName(java.lang.String name)
          Optional name for the style setting.
 StyleSetting setPolygonOptions(PolygonStyle polygonOptions)
          Style definition for polygons in the table.
 StyleSetting setPolylineOptions(LineStyle polylineOptions)
          Style definition for lines in the table.
 StyleSetting setStyleId(java.lang.Integer styleId)
          Identifier for the style setting (unique only within tables).
 StyleSetting setTableId(java.lang.String tableId)
          Identifier for the table.
 
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

StyleSetting

public StyleSetting()
Method Detail

getKind

public java.lang.String getKind()
Type name: an individual style setting. A StyleSetting contains the style defintions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. The value returned may be null.


setKind

public StyleSetting setKind(java.lang.String kind)
Type name: an individual style setting. A StyleSetting contains the style defintions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. The value set may be null.


getMarkerOptions

public PointStyle getMarkerOptions()
Style definition for points in the table. The value returned may be null.


setMarkerOptions

public StyleSetting setMarkerOptions(PointStyle markerOptions)
Style definition for points in the table. The value set may be null.


getName

public java.lang.String getName()
Optional name for the style setting. The value returned may be null.


setName

public StyleSetting setName(java.lang.String name)
Optional name for the style setting. The value set may be null.


getPolygonOptions

public PolygonStyle getPolygonOptions()
Style definition for polygons in the table. The value returned may be null.


setPolygonOptions

public StyleSetting setPolygonOptions(PolygonStyle polygonOptions)
Style definition for polygons in the table. The value set may be null.


getPolylineOptions

public LineStyle getPolylineOptions()
Style definition for lines in the table. The value returned may be null.


setPolylineOptions

public StyleSetting setPolylineOptions(LineStyle polylineOptions)
Style definition for lines in the table. The value set may be null.


getStyleId

public java.lang.Integer getStyleId()
Identifier for the style setting (unique only within tables). The value returned may be null.


setStyleId

public StyleSetting setStyleId(java.lang.Integer styleId)
Identifier for the style setting (unique only within tables). The value set may be null.


getTableId

public java.lang.String getTableId()
Identifier for the table. The value returned may be null.


setTableId

public StyleSetting setTableId(java.lang.String tableId)
Identifier for the table. The value set may be null.