|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.fusiontables.model.StyleFunction
public final class StyleFunction
Represents a StyleFunction 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()
| Nested Class Summary | |
|---|---|
static class |
StyleFunction.Gradient
Gradient function that interpolates a range of colors based on column value. |
| 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()
|
|
| Method Summary | |
|---|---|
java.util.List<Bucket> |
getBuckets()
Bucket function that assigns a style based on the range a column value falls into. |
java.lang.String |
getColumnName()
Name of the column whose value is used in the style. |
StyleFunction.Gradient |
getGradient()
Gradient function that interpolates a range of colors based on column value. |
java.lang.String |
getKind()
Stylers can be one of three kinds: "fusiontables#fromColumn" if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; "fusiontables#gradient" if the styling of the row is to be based on applying the gradient function on the column value; or "fusiontables#buckets" if the styling is to based on the bucket into which the the column value falls. |
StyleFunction |
setBuckets(java.util.List<Bucket> buckets)
Bucket function that assigns a style based on the range a column value falls into. |
StyleFunction |
setColumnName(java.lang.String columnName)
Name of the column whose value is used in the style. |
StyleFunction |
setGradient(StyleFunction.Gradient gradient)
Gradient function that interpolates a range of colors based on column value. |
StyleFunction |
setKind(java.lang.String kind)
Stylers can be one of three kinds: "fusiontables#fromColumn" if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; "fusiontables#gradient" if the styling of the row is to be based on applying the gradient function on the column value; or "fusiontables#buckets" if the styling is to based on the bucket into which the the column value falls. |
| 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 |
|---|
public StyleFunction()
| Method Detail |
|---|
public java.util.List<Bucket> getBuckets()
null.
public StyleFunction setBuckets(java.util.List<Bucket> buckets)
null.
public java.lang.String getColumnName()
null.
public StyleFunction setColumnName(java.lang.String columnName)
null.
public StyleFunction.Gradient getGradient()
null.
public StyleFunction setGradient(StyleFunction.Gradient gradient)
null.
public java.lang.String getKind()
null.
public StyleFunction setKind(java.lang.String kind)
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||