public final class TableCellStyle
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 Docs 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 |
---|
TableCellStyle() |
Modifier and Type | Method and Description |
---|---|
TableCellStyle |
clone() |
OptionalColor |
getBackgroundColor()
The background color of the cell.
|
TableCellBorder |
getBorderBottom()
The bottom border of the cell.
|
TableCellBorder |
getBorderLeft()
The left border of the cell.
|
TableCellBorder |
getBorderRight()
The right border of the cell.
|
TableCellBorder |
getBorderTop()
The top border of the cell.
|
Integer |
getColumnSpan()
The column span of the cell.
|
String |
getContentAlignment()
The alignment of the content in the table cell.
|
Dimension |
getPaddingBottom()
The bottom padding of the cell.
|
Dimension |
getPaddingLeft()
The left padding of the cell.
|
Dimension |
getPaddingRight()
The right padding of the cell.
|
Dimension |
getPaddingTop()
The top padding of the cell.
|
Integer |
getRowSpan()
The row span of the cell.
|
TableCellStyle |
set(String fieldName,
Object value) |
TableCellStyle |
setBackgroundColor(OptionalColor backgroundColor)
The background color of the cell.
|
TableCellStyle |
setBorderBottom(TableCellBorder borderBottom)
The bottom border of the cell.
|
TableCellStyle |
setBorderLeft(TableCellBorder borderLeft)
The left border of the cell.
|
TableCellStyle |
setBorderRight(TableCellBorder borderRight)
The right border of the cell.
|
TableCellStyle |
setBorderTop(TableCellBorder borderTop)
The top border of the cell.
|
TableCellStyle |
setColumnSpan(Integer columnSpan)
The column span of the cell.
|
TableCellStyle |
setContentAlignment(String contentAlignment)
The alignment of the content in the table cell.
|
TableCellStyle |
setPaddingBottom(Dimension paddingBottom)
The bottom padding of the cell.
|
TableCellStyle |
setPaddingLeft(Dimension paddingLeft)
The left padding of the cell.
|
TableCellStyle |
setPaddingRight(Dimension paddingRight)
The right padding of the cell.
|
TableCellStyle |
setPaddingTop(Dimension paddingTop)
The top padding of the cell.
|
TableCellStyle |
setRowSpan(Integer rowSpan)
The row span 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 OptionalColor getBackgroundColor()
null
for nonepublic TableCellStyle setBackgroundColor(OptionalColor backgroundColor)
backgroundColor
- backgroundColor or null
for nonepublic TableCellBorder getBorderBottom()
null
for nonepublic TableCellStyle setBorderBottom(TableCellBorder borderBottom)
borderBottom
- borderBottom or null
for nonepublic TableCellBorder getBorderLeft()
null
for nonepublic TableCellStyle setBorderLeft(TableCellBorder borderLeft)
borderLeft
- borderLeft or null
for nonepublic TableCellBorder getBorderRight()
null
for nonepublic TableCellStyle setBorderRight(TableCellBorder borderRight)
borderRight
- borderRight or null
for nonepublic TableCellBorder getBorderTop()
null
for nonepublic TableCellStyle setBorderTop(TableCellBorder borderTop)
borderTop
- borderTop or null
for nonepublic Integer getColumnSpan()
null
for nonepublic TableCellStyle setColumnSpan(Integer columnSpan)
columnSpan
- columnSpan or null
for nonepublic String getContentAlignment()
null
for nonepublic TableCellStyle setContentAlignment(String contentAlignment)
contentAlignment
- contentAlignment or null
for nonepublic Dimension getPaddingBottom()
null
for nonepublic TableCellStyle setPaddingBottom(Dimension paddingBottom)
paddingBottom
- paddingBottom or null
for nonepublic Dimension getPaddingLeft()
null
for nonepublic TableCellStyle setPaddingLeft(Dimension paddingLeft)
paddingLeft
- paddingLeft or null
for nonepublic Dimension getPaddingRight()
null
for nonepublic TableCellStyle setPaddingRight(Dimension paddingRight)
paddingRight
- paddingRight or null
for nonepublic Dimension getPaddingTop()
null
for nonepublic TableCellStyle setPaddingTop(Dimension paddingTop)
paddingTop
- paddingTop or null
for nonepublic Integer getRowSpan()
null
for nonepublic TableCellStyle setRowSpan(Integer rowSpan)
rowSpan
- rowSpan or null
for nonepublic TableCellStyle set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TableCellStyle clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.