public final class Border 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Border() |
Modifier and Type | Method and Description |
---|---|
Border |
clone() |
Color |
getColor()
The color of the border.
|
ColorStyle |
getColorStyle()
The color of the border.
|
String |
getStyle()
The style of the border.
|
Integer |
getWidth()
The width of the border, in pixels.
|
Border |
set(String fieldName,
Object value) |
Border |
setColor(Color color)
The color of the border.
|
Border |
setColorStyle(ColorStyle colorStyle)
The color of the border.
|
Border |
setStyle(String style)
The style of the border.
|
Border |
setWidth(Integer width)
The width of the border, in pixels.
|
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 Color getColor()
null
for nonepublic Border setColor(Color color)
color
- color or null
for nonepublic ColorStyle getColorStyle()
null
for nonepublic Border setColorStyle(ColorStyle colorStyle)
colorStyle
- colorStyle or null
for nonepublic String getStyle()
null
for nonepublic Border setStyle(String style)
style
- style or null
for nonepublic Integer getWidth()
null
for nonepublic Border setWidth(Integer width)
width
- width or null
for nonepublic Border set(String fieldName, Object value)
set
in class GenericJson
public Border clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.