public final class BandingProperties
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 |
---|
BandingProperties() |
Modifier and Type | Method and Description |
---|---|
BandingProperties |
clone() |
Color |
getFirstBandColor()
The first color that is alternating.
|
ColorStyle |
getFirstBandColorStyle()
The first color that is alternating.
|
Color |
getFooterColor()
The color of the last row or column.
|
ColorStyle |
getFooterColorStyle()
The color of the last row or column.
|
Color |
getHeaderColor()
The color of the first row or column.
|
ColorStyle |
getHeaderColorStyle()
The color of the first row or column.
|
Color |
getSecondBandColor()
The second color that is alternating.
|
ColorStyle |
getSecondBandColorStyle()
The second color that is alternating.
|
BandingProperties |
set(String fieldName,
Object value) |
BandingProperties |
setFirstBandColor(Color firstBandColor)
The first color that is alternating.
|
BandingProperties |
setFirstBandColorStyle(ColorStyle firstBandColorStyle)
The first color that is alternating.
|
BandingProperties |
setFooterColor(Color footerColor)
The color of the last row or column.
|
BandingProperties |
setFooterColorStyle(ColorStyle footerColorStyle)
The color of the last row or column.
|
BandingProperties |
setHeaderColor(Color headerColor)
The color of the first row or column.
|
BandingProperties |
setHeaderColorStyle(ColorStyle headerColorStyle)
The color of the first row or column.
|
BandingProperties |
setSecondBandColor(Color secondBandColor)
The second color that is alternating.
|
BandingProperties |
setSecondBandColorStyle(ColorStyle secondBandColorStyle)
The second color that is alternating.
|
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 Color getFirstBandColor()
null
for nonepublic BandingProperties setFirstBandColor(Color firstBandColor)
firstBandColor
- firstBandColor or null
for nonepublic ColorStyle getFirstBandColorStyle()
null
for nonepublic BandingProperties setFirstBandColorStyle(ColorStyle firstBandColorStyle)
firstBandColorStyle
- firstBandColorStyle or null
for nonepublic Color getFooterColor()
null
for nonepublic BandingProperties setFooterColor(Color footerColor)
footerColor
- footerColor or null
for nonepublic ColorStyle getFooterColorStyle()
null
for nonepublic BandingProperties setFooterColorStyle(ColorStyle footerColorStyle)
footerColorStyle
- footerColorStyle or null
for nonepublic Color getHeaderColor()
null
for nonepublic BandingProperties setHeaderColor(Color headerColor)
headerColor
- headerColor or null
for nonepublic ColorStyle getHeaderColorStyle()
null
for nonepublic BandingProperties setHeaderColorStyle(ColorStyle headerColorStyle)
headerColorStyle
- headerColorStyle or null
for nonepublic Color getSecondBandColor()
null
for nonepublic BandingProperties setSecondBandColor(Color secondBandColor)
secondBandColor
- secondBandColor or null
for nonepublic ColorStyle getSecondBandColorStyle()
null
for nonepublic BandingProperties setSecondBandColorStyle(ColorStyle secondBandColorStyle)
secondBandColorStyle
- secondBandColorStyle or null
for nonepublic BandingProperties set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BandingProperties clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.