public final class TableCell 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 Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TableCell() |
Modifier and Type | Method and Description |
---|---|
TableCell |
clone() |
List<StructuralElement> |
getContent()
The content of the cell.
|
Integer |
getEndIndex()
The zero-based end index of this cell, exclusive, in UTF-16 code units.
|
Integer |
getStartIndex()
The zero-based start index of this cell, in UTF-16 code units.
|
List<String> |
getSuggestedDeletionIds()
The suggested deletion IDs.
|
List<String> |
getSuggestedInsertionIds()
The suggested insertion IDs.
|
Map<String,SuggestedTableCellStyle> |
getSuggestedTableCellStyleChanges()
The suggested changes to the table cell style, keyed by suggestion ID.
|
TableCellStyle |
getTableCellStyle()
The style of the cell.
|
TableCell |
set(String fieldName,
Object value) |
TableCell |
setContent(List<StructuralElement> content)
The content of the cell.
|
TableCell |
setEndIndex(Integer endIndex)
The zero-based end index of this cell, exclusive, in UTF-16 code units.
|
TableCell |
setStartIndex(Integer startIndex)
The zero-based start index of this cell, in UTF-16 code units.
|
TableCell |
setSuggestedDeletionIds(List<String> suggestedDeletionIds)
The suggested deletion IDs.
|
TableCell |
setSuggestedInsertionIds(List<String> suggestedInsertionIds)
The suggested insertion IDs.
|
TableCell |
setSuggestedTableCellStyleChanges(Map<String,SuggestedTableCellStyle> suggestedTableCellStyleChanges)
The suggested changes to the table cell style, keyed by suggestion ID.
|
TableCell |
setTableCellStyle(TableCellStyle tableCellStyle)
The style of the cell.
|
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 List<StructuralElement> getContent()
null
for nonepublic TableCell setContent(List<StructuralElement> content)
content
- content or null
for nonepublic Integer getEndIndex()
null
for nonepublic TableCell setEndIndex(Integer endIndex)
endIndex
- endIndex or null
for nonepublic Integer getStartIndex()
null
for nonepublic TableCell setStartIndex(Integer startIndex)
startIndex
- startIndex or null
for nonepublic List<String> getSuggestedDeletionIds()
null
for nonepublic TableCell setSuggestedDeletionIds(List<String> suggestedDeletionIds)
suggestedDeletionIds
- suggestedDeletionIds or null
for nonepublic List<String> getSuggestedInsertionIds()
null
for nonepublic TableCell setSuggestedInsertionIds(List<String> suggestedInsertionIds)
suggestedInsertionIds
- suggestedInsertionIds or null
for nonepublic Map<String,SuggestedTableCellStyle> getSuggestedTableCellStyleChanges()
null
for nonepublic TableCell setSuggestedTableCellStyleChanges(Map<String,SuggestedTableCellStyle> suggestedTableCellStyleChanges)
suggestedTableCellStyleChanges
- suggestedTableCellStyleChanges or null
for nonepublic TableCellStyle getTableCellStyle()
null
for nonepublic TableCell setTableCellStyle(TableCellStyle tableCellStyle)
tableCellStyle
- tableCellStyle or null
for nonepublic TableCell set(String fieldName, Object value)
set
in class GenericJson
public TableCell clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.