public final class SlicerSpec
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 |
---|
SlicerSpec() |
Modifier and Type | Method and Description |
---|---|
SlicerSpec |
clone() |
java.lang.Boolean |
getApplyToPivotTables()
True if the filter should apply to pivot tables.
|
Color |
getBackgroundColor()
The background color of the slicer.
|
ColorStyle |
getBackgroundColorStyle()
The background color of the slicer.
|
java.lang.Integer |
getColumnIndex()
The column index in the data table on which the filter is applied to.
|
GridRange |
getDataRange()
The data range of the slicer.
|
FilterCriteria |
getFilterCriteria()
The filtering criteria of the slicer.
|
java.lang.String |
getHorizontalAlignment()
The horizontal alignment of title in the slicer.
|
TextFormat |
getTextFormat()
The text format of title in the slicer.
|
java.lang.String |
getTitle()
The title of the slicer.
|
SlicerSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
SlicerSpec |
setApplyToPivotTables(java.lang.Boolean applyToPivotTables)
True if the filter should apply to pivot tables.
|
SlicerSpec |
setBackgroundColor(Color backgroundColor)
The background color of the slicer.
|
SlicerSpec |
setBackgroundColorStyle(ColorStyle backgroundColorStyle)
The background color of the slicer.
|
SlicerSpec |
setColumnIndex(java.lang.Integer columnIndex)
The column index in the data table on which the filter is applied to.
|
SlicerSpec |
setDataRange(GridRange dataRange)
The data range of the slicer.
|
SlicerSpec |
setFilterCriteria(FilterCriteria filterCriteria)
The filtering criteria of the slicer.
|
SlicerSpec |
setHorizontalAlignment(java.lang.String horizontalAlignment)
The horizontal alignment of title in the slicer.
|
SlicerSpec |
setTextFormat(TextFormat textFormat)
The text format of title in the slicer.
|
SlicerSpec |
setTitle(java.lang.String title)
The title of the slicer.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getApplyToPivotTables()
null
for nonepublic SlicerSpec setApplyToPivotTables(java.lang.Boolean applyToPivotTables)
applyToPivotTables
- applyToPivotTables or null
for nonepublic Color getBackgroundColor()
null
for nonepublic SlicerSpec setBackgroundColor(Color backgroundColor)
backgroundColor
- backgroundColor or null
for nonepublic ColorStyle getBackgroundColorStyle()
null
for nonepublic SlicerSpec setBackgroundColorStyle(ColorStyle backgroundColorStyle)
backgroundColorStyle
- backgroundColorStyle or null
for nonepublic java.lang.Integer getColumnIndex()
null
for nonepublic SlicerSpec setColumnIndex(java.lang.Integer columnIndex)
columnIndex
- columnIndex or null
for nonepublic GridRange getDataRange()
null
for nonepublic SlicerSpec setDataRange(GridRange dataRange)
dataRange
- dataRange or null
for nonepublic FilterCriteria getFilterCriteria()
null
for nonepublic SlicerSpec setFilterCriteria(FilterCriteria filterCriteria)
filterCriteria
- filterCriteria or null
for nonepublic java.lang.String getHorizontalAlignment()
null
for nonepublic SlicerSpec setHorizontalAlignment(java.lang.String horizontalAlignment)
horizontalAlignment
- horizontalAlignment or null
for nonepublic TextFormat getTextFormat()
null
for nonepublic SlicerSpec setTextFormat(TextFormat textFormat)
textFormat
- textFormat or null
for nonepublic java.lang.String getTitle()
null
for nonepublic SlicerSpec setTitle(java.lang.String title)
title
- title or null
for nonepublic SlicerSpec set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SlicerSpec clone()
clone
in class com.google.api.client.json.GenericJson