target.apidocs.com.google.api.services.sheets.v4.model.GridProperties.html Maven / Gradle / Ivy
GridProperties (Google Sheets API v4-rev20230526-2.0.0)
com.google.api.services.sheets.v4.model
Class GridProperties
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.GridProperties
-
public final class GridProperties
extends com.google.api.client.json.GenericJson
Properties of a grid.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
GridProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GridProperties
clone()
Integer
getColumnCount()
The number of columns in the grid.
Boolean
getColumnGroupControlAfter()
True if the column grouping control toggle is shown after the group.
Integer
getFrozenColumnCount()
The number of columns that are frozen in the grid.
Integer
getFrozenRowCount()
The number of rows that are frozen in the grid.
Boolean
getHideGridlines()
True if the grid isn't showing gridlines in the UI.
Integer
getRowCount()
The number of rows in the grid.
Boolean
getRowGroupControlAfter()
True if the row grouping control toggle is shown after the group.
GridProperties
set(String fieldName,
Object value)
GridProperties
setColumnCount(Integer columnCount)
The number of columns in the grid.
GridProperties
setColumnGroupControlAfter(Boolean columnGroupControlAfter)
True if the column grouping control toggle is shown after the group.
GridProperties
setFrozenColumnCount(Integer frozenColumnCount)
The number of columns that are frozen in the grid.
GridProperties
setFrozenRowCount(Integer frozenRowCount)
The number of rows that are frozen in the grid.
GridProperties
setHideGridlines(Boolean hideGridlines)
True if the grid isn't showing gridlines in the UI.
GridProperties
setRowCount(Integer rowCount)
The number of rows in the grid.
GridProperties
setRowGroupControlAfter(Boolean rowGroupControlAfter)
True if the row grouping control toggle is shown after the group.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getColumnCount
public Integer getColumnCount()
The number of columns in the grid.
- Returns:
- value or
null
for none
-
setColumnCount
public GridProperties setColumnCount(Integer columnCount)
The number of columns in the grid.
- Parameters:
columnCount
- columnCount or null
for none
-
getColumnGroupControlAfter
public Boolean getColumnGroupControlAfter()
True if the column grouping control toggle is shown after the group.
- Returns:
- value or
null
for none
-
setColumnGroupControlAfter
public GridProperties setColumnGroupControlAfter(Boolean columnGroupControlAfter)
True if the column grouping control toggle is shown after the group.
- Parameters:
columnGroupControlAfter
- columnGroupControlAfter or null
for none
-
getFrozenColumnCount
public Integer getFrozenColumnCount()
The number of columns that are frozen in the grid.
- Returns:
- value or
null
for none
-
setFrozenColumnCount
public GridProperties setFrozenColumnCount(Integer frozenColumnCount)
The number of columns that are frozen in the grid.
- Parameters:
frozenColumnCount
- frozenColumnCount or null
for none
-
getFrozenRowCount
public Integer getFrozenRowCount()
The number of rows that are frozen in the grid.
- Returns:
- value or
null
for none
-
setFrozenRowCount
public GridProperties setFrozenRowCount(Integer frozenRowCount)
The number of rows that are frozen in the grid.
- Parameters:
frozenRowCount
- frozenRowCount or null
for none
-
getHideGridlines
public Boolean getHideGridlines()
True if the grid isn't showing gridlines in the UI.
- Returns:
- value or
null
for none
-
setHideGridlines
public GridProperties setHideGridlines(Boolean hideGridlines)
True if the grid isn't showing gridlines in the UI.
- Parameters:
hideGridlines
- hideGridlines or null
for none
-
getRowCount
public Integer getRowCount()
The number of rows in the grid.
- Returns:
- value or
null
for none
-
setRowCount
public GridProperties setRowCount(Integer rowCount)
The number of rows in the grid.
- Parameters:
rowCount
- rowCount or null
for none
-
getRowGroupControlAfter
public Boolean getRowGroupControlAfter()
True if the row grouping control toggle is shown after the group.
- Returns:
- value or
null
for none
-
setRowGroupControlAfter
public GridProperties setRowGroupControlAfter(Boolean rowGroupControlAfter)
True if the row grouping control toggle is shown after the group.
- Parameters:
rowGroupControlAfter
- rowGroupControlAfter or null
for none
-
set
public GridProperties set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GridProperties clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.