public class DashboardColor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DashboardColor.TypeEnum
Type is how the color is used.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_HEX |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUE |
| Constructor and Description |
|---|
DashboardColor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHex()
The hex number of the color
|
String |
getId()
The unique ID of the view color.
|
String |
getName()
The user-facing name of the hex color.
|
DashboardColor.TypeEnum |
getType()
Type is how the color is used.
|
Float |
getValue()
The data value mapped to this color.
|
int |
hashCode() |
DashboardColor |
hex(String hex) |
DashboardColor |
id(String id) |
DashboardColor |
name(String name) |
void |
setHex(String hex) |
void |
setId(String id) |
void |
setName(String name) |
void |
setType(DashboardColor.TypeEnum type) |
void |
setValue(Float value) |
String |
toString() |
DashboardColor |
type(DashboardColor.TypeEnum type) |
DashboardColor |
value(Float value) |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_HEX
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_VALUE
public DashboardColor id(String id)
public String getId()
public void setId(String id)
public DashboardColor type(DashboardColor.TypeEnum type)
public DashboardColor.TypeEnum getType()
public void setType(DashboardColor.TypeEnum type)
public DashboardColor hex(String hex)
public String getHex()
public void setHex(String hex)
public DashboardColor name(String name)
public String getName()
public void setName(String name)
public DashboardColor value(Float value)
public Float getValue()
public void setValue(Float value)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.