public final class Border
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 Sheets 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
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.
|
java.lang.String |
getStyle()
The style of the border.
|
java.lang.Integer |
getWidth()
The width of the border, in pixels.
|
Border |
set(java.lang.String fieldName,
java.lang.Object value) |
Border |
setColor(Color color)
The color of the border.
|
Border |
setColorStyle(ColorStyle colorStyle)
The color of the border.
|
Border |
setStyle(java.lang.String style)
The style of the border.
|
Border |
setWidth(java.lang.Integer width)
The width of the border, in pixels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
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 java.lang.String getStyle()
null
for nonepublic Border setStyle(java.lang.String style)
style
- style or null
for nonepublic java.lang.Integer getWidth()
null
for nonepublic Border setWidth(java.lang.Integer width)
width
- width or null
for nonepublic Border set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Border clone()
clone
in class com.google.api.client.json.GenericJson