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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.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.
|
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.
|
GridProperties |
set(String fieldName,
Object value) |
GridProperties |
setColumnCount(Integer columnCount)
The number of columns in the grid.
|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getColumnCount()
null
for nonepublic GridProperties setColumnCount(Integer columnCount)
columnCount
- columnCount 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 GridProperties set(String fieldName, Object value)
set
in class GenericJson
public GridProperties clone()
clone
in class GenericJson