public final class OrgChartSpec
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 |
---|
OrgChartSpec() |
Modifier and Type | Method and Description |
---|---|
OrgChartSpec |
clone() |
ChartData |
getLabels()
The data containing the labels for all the nodes in the chart.
|
Color |
getNodeColor()
The color of the org chart nodes.
|
ColorStyle |
getNodeColorStyle()
The color of the org chart nodes.
|
java.lang.String |
getNodeSize()
The size of the org chart nodes.
|
ChartData |
getParentLabels()
The data containing the label of the parent for the corresponding node.
|
Color |
getSelectedNodeColor()
The color of the selected org chart nodes.
|
ColorStyle |
getSelectedNodeColorStyle()
The color of the selected org chart nodes.
|
ChartData |
getTooltips()
The data containing the tooltip for the corresponding node.
|
OrgChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
OrgChartSpec |
setLabels(ChartData labels)
The data containing the labels for all the nodes in the chart.
|
OrgChartSpec |
setNodeColor(Color nodeColor)
The color of the org chart nodes.
|
OrgChartSpec |
setNodeColorStyle(ColorStyle nodeColorStyle)
The color of the org chart nodes.
|
OrgChartSpec |
setNodeSize(java.lang.String nodeSize)
The size of the org chart nodes.
|
OrgChartSpec |
setParentLabels(ChartData parentLabels)
The data containing the label of the parent for the corresponding node.
|
OrgChartSpec |
setSelectedNodeColor(Color selectedNodeColor)
The color of the selected org chart nodes.
|
OrgChartSpec |
setSelectedNodeColorStyle(ColorStyle selectedNodeColorStyle)
The color of the selected org chart nodes.
|
OrgChartSpec |
setTooltips(ChartData tooltips)
The data containing the tooltip for the corresponding node.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ChartData getLabels()
null
for nonepublic OrgChartSpec setLabels(ChartData labels)
labels
- labels or null
for nonepublic Color getNodeColor()
null
for nonepublic OrgChartSpec setNodeColor(Color nodeColor)
nodeColor
- nodeColor or null
for nonepublic ColorStyle getNodeColorStyle()
null
for nonepublic OrgChartSpec setNodeColorStyle(ColorStyle nodeColorStyle)
nodeColorStyle
- nodeColorStyle or null
for nonepublic java.lang.String getNodeSize()
null
for nonepublic OrgChartSpec setNodeSize(java.lang.String nodeSize)
nodeSize
- nodeSize or null
for nonepublic ChartData getParentLabels()
null
for nonepublic OrgChartSpec setParentLabels(ChartData parentLabels)
parentLabels
- parentLabels or null
for nonepublic Color getSelectedNodeColor()
null
for nonepublic OrgChartSpec setSelectedNodeColor(Color selectedNodeColor)
selectedNodeColor
- selectedNodeColor or null
for nonepublic ColorStyle getSelectedNodeColorStyle()
null
for nonepublic OrgChartSpec setSelectedNodeColorStyle(ColorStyle selectedNodeColorStyle)
selectedNodeColorStyle
- selectedNodeColorStyle or null
for nonepublic ChartData getTooltips()
null
for nonepublic OrgChartSpec setTooltips(ChartData tooltips)
tooltips
- tooltips or null
for nonepublic OrgChartSpec set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public OrgChartSpec clone()
clone
in class com.google.api.client.json.GenericJson