public final class BandingProperties extends 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
GenericData.FlagsAbstractMap.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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 GenericJsonpublic BandingProperties clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.