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: http://code.google.com/p/google-http-java-client/wiki/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.
|
Color |
getFooterColor()
The color of the last row or column.
|
Color |
getHeaderColor()
The color of the first row or column.
|
Color |
getSecondBandColor()
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 |
setFooterColor(Color footerColor)
The color of the last row or column.
|
BandingProperties |
setHeaderColor(Color headerColor)
The color of the first row or column.
|
BandingProperties |
setSecondBandColor(Color secondBandColor)
The second color that is alternating.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public Color getFirstBandColor()
null
for nonepublic BandingProperties setFirstBandColor(Color firstBandColor)
firstBandColor
- firstBandColor or null
for nonepublic Color getFooterColor()
null
for nonepublic BandingProperties setFooterColor(Color footerColor)
footerColor
- footerColor or null
for nonepublic Color getHeaderColor()
null
for nonepublic BandingProperties setHeaderColor(Color headerColor)
headerColor
- headerColor or null
for nonepublic Color getSecondBandColor()
null
for nonepublic BandingProperties setSecondBandColor(Color secondBandColor)
secondBandColor
- secondBandColor 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