public class LegendData extends Object implements Serializable
| 构造器和说明 |
|---|
LegendData(String name)
构造函数,参数:name
|
LegendData(String name,
TextStyle textStyle)
构造函数,参数:name,textStyle
|
LegendData(String name,
TextStyle textStyle,
String icon)
构造函数,参数:name,textStyle,icon
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
icon()
获取icon值
|
LegendData |
icon(String icon)
设置icon值
|
String |
name()
获取name值
|
LegendData |
name(String name)
设置name值
|
TextStyle |
textStyle()
获取textStyle值
|
LegendData |
textStyle(TextStyle textStyle)
设置textStyle值
|
public LegendData(String name)
name - public LegendData(String name, TextStyle textStyle)
name - textStyle - public String name()
public LegendData name(String name)
name - public TextStyle textStyle()
public LegendData textStyle(TextStyle textStyle)
textStyle - public String icon()
public LegendData icon(String icon)
icon - Copyright © 2018. All rights reserved.