public final class BaselineValueFormat
extends com.google.api.client.json.GenericJson
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 Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
BaselineValueFormat() |
Modifier and Type | Method and Description |
---|---|
BaselineValueFormat |
clone() |
java.lang.String |
getComparisonType()
The comparison type of key value with baseline value.
|
java.lang.String |
getDescription()
Description which is appended after the baseline value.
|
Color |
getNegativeColor()
Color to be used, in case baseline value represents a negative change for key value.
|
ColorStyle |
getNegativeColorStyle()
Color to be used, in case baseline value represents a negative change for key value.
|
TextPosition |
getPosition()
Specifies the horizontal text positioning of baseline value.
|
Color |
getPositiveColor()
Color to be used, in case baseline value represents a positive change for key value.
|
ColorStyle |
getPositiveColorStyle()
Color to be used, in case baseline value represents a positive change for key value.
|
TextFormat |
getTextFormat()
Text formatting options for baseline value.
|
BaselineValueFormat |
set(java.lang.String fieldName,
java.lang.Object value) |
BaselineValueFormat |
setComparisonType(java.lang.String comparisonType)
The comparison type of key value with baseline value.
|
BaselineValueFormat |
setDescription(java.lang.String description)
Description which is appended after the baseline value.
|
BaselineValueFormat |
setNegativeColor(Color negativeColor)
Color to be used, in case baseline value represents a negative change for key value.
|
BaselineValueFormat |
setNegativeColorStyle(ColorStyle negativeColorStyle)
Color to be used, in case baseline value represents a negative change for key value.
|
BaselineValueFormat |
setPosition(TextPosition position)
Specifies the horizontal text positioning of baseline value.
|
BaselineValueFormat |
setPositiveColor(Color positiveColor)
Color to be used, in case baseline value represents a positive change for key value.
|
BaselineValueFormat |
setPositiveColorStyle(ColorStyle positiveColorStyle)
Color to be used, in case baseline value represents a positive change for key value.
|
BaselineValueFormat |
setTextFormat(TextFormat textFormat)
Text formatting options for baseline value.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getComparisonType()
null
for nonepublic BaselineValueFormat setComparisonType(java.lang.String comparisonType)
comparisonType
- comparisonType or null
for nonepublic java.lang.String getDescription()
null
for nonepublic BaselineValueFormat setDescription(java.lang.String description)
description
- description or null
for nonepublic Color getNegativeColor()
null
for nonepublic BaselineValueFormat setNegativeColor(Color negativeColor)
negativeColor
- negativeColor or null
for nonepublic ColorStyle getNegativeColorStyle()
null
for nonepublic BaselineValueFormat setNegativeColorStyle(ColorStyle negativeColorStyle)
negativeColorStyle
- negativeColorStyle or null
for nonepublic TextPosition getPosition()
null
for nonepublic BaselineValueFormat setPosition(TextPosition position)
position
- position or null
for nonepublic Color getPositiveColor()
null
for nonepublic BaselineValueFormat setPositiveColor(Color positiveColor)
positiveColor
- positiveColor or null
for nonepublic ColorStyle getPositiveColorStyle()
null
for nonepublic BaselineValueFormat setPositiveColorStyle(ColorStyle positiveColorStyle)
positiveColorStyle
- positiveColorStyle or null
for nonepublic TextFormat getTextFormat()
null
for nonepublic BaselineValueFormat setTextFormat(TextFormat textFormat)
textFormat
- textFormat or null
for nonepublic BaselineValueFormat set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BaselineValueFormat clone()
clone
in class com.google.api.client.json.GenericJson