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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SlicerSpec() |
Modifier and Type | Method and Description |
---|---|
SlicerSpec |
clone() |
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.
|
Integer |
getColumnIndex()
The zero-based 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.
|
String |
getHorizontalAlignment()
The horizontal alignment of title in the slicer.
|
TextFormat |
getTextFormat()
The text format of title in the slicer.
|
String |
getTitle()
The title of the slicer.
|
SlicerSpec |
set(String fieldName,
Object value) |
SlicerSpec |
setApplyToPivotTables(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(Integer columnIndex)
The zero-based 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(String horizontalAlignment)
The horizontal alignment of title in the slicer.
|
SlicerSpec |
setTextFormat(TextFormat textFormat)
The text format of title in the slicer.
|
SlicerSpec |
setTitle(String title)
The title of the slicer.
|
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 Boolean getApplyToPivotTables()
null
for nonepublic SlicerSpec setApplyToPivotTables(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 Integer getColumnIndex()
null
for nonepublic SlicerSpec setColumnIndex(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 String getHorizontalAlignment()
null
for nonepublic SlicerSpec setHorizontalAlignment(String horizontalAlignment)
horizontalAlignment
- horizontalAlignment or null
for nonepublic TextFormat getTextFormat()
null
for nonepublic SlicerSpec setTextFormat(TextFormat textFormat)
textFormat
- textFormat or null
for nonepublic String getTitle()
null
for nonepublic SlicerSpec setTitle(String title)
title
- title or null
for nonepublic SlicerSpec set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SlicerSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.