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
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(java.lang.String fieldName,
java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BandingProperties clone()
clone
in class com.google.api.client.json.GenericJson