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.FlagsAbstractMap.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, 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 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 GenericJsonpublic Border clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.