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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BaselineValueFormat() |
Modifier and Type | Method and Description |
---|---|
BaselineValueFormat |
clone() |
String |
getComparisonType()
The comparison type of key value with baseline value.
|
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(String fieldName,
Object value) |
BaselineValueFormat |
setComparisonType(String comparisonType)
The comparison type of key value with baseline value.
|
BaselineValueFormat |
setDescription(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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getComparisonType()
null
for nonepublic BaselineValueFormat setComparisonType(String comparisonType)
comparisonType
- comparisonType or null
for nonepublic String getDescription()
null
for nonepublic BaselineValueFormat setDescription(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BaselineValueFormat clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.