public final class GridProperties extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GridProperties() |
| 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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getColumnCount()
null for nonepublic GridProperties setColumnCount(Integer columnCount)
columnCount - columnCount or null for nonepublic Boolean getColumnGroupControlAfter()
null for nonepublic GridProperties setColumnGroupControlAfter(Boolean columnGroupControlAfter)
columnGroupControlAfter - columnGroupControlAfter or null for nonepublic Integer getFrozenColumnCount()
null for nonepublic GridProperties setFrozenColumnCount(Integer frozenColumnCount)
frozenColumnCount - frozenColumnCount or null for nonepublic Integer getFrozenRowCount()
null for nonepublic GridProperties setFrozenRowCount(Integer frozenRowCount)
frozenRowCount - frozenRowCount or null for nonepublic Boolean getHideGridlines()
null for nonepublic GridProperties setHideGridlines(Boolean hideGridlines)
hideGridlines - hideGridlines or null for nonepublic Integer getRowCount()
null for nonepublic GridProperties setRowCount(Integer rowCount)
rowCount - rowCount or null for nonepublic Boolean getRowGroupControlAfter()
null for nonepublic GridProperties setRowGroupControlAfter(Boolean rowGroupControlAfter)
rowGroupControlAfter - rowGroupControlAfter or null for nonepublic GridProperties set(String fieldName, Object value)
set in class GenericJsonpublic GridProperties clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.