public final class LineStyle 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LineStyle() |
| Modifier and Type | Method and Description |
|---|---|
LineStyle |
clone() |
String |
getType()
The dash type of the line.
|
Integer |
getWidth()
The thickness of the line, in px.
|
LineStyle |
set(String fieldName,
Object value) |
LineStyle |
setType(String type)
The dash type of the line.
|
LineStyle |
setWidth(Integer width)
The thickness of the line, in px.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getType()
null for nonepublic LineStyle setType(String type)
type - type or null for nonepublic Integer getWidth()
null for nonepublic LineStyle setWidth(Integer width)
width - width or null for nonepublic LineStyle set(String fieldName, Object value)
set in class GenericJsonpublic LineStyle clone()
clone in class GenericJson