Package com.oorian.echarts.options
Class EChartsLevels.Level
java.lang.Object
com.oorian.echarts.options.EChartsLevels.Level
- All Implemented Interfaces:
com.oorian.json.Jsonable
- Enclosing class:
EChartsLevels
Represents a single level configuration within the levels hierarchy.
- Author:
- Oorian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the emphasis configuration for this level.Gets the item style configuration for this level.getLabel()Gets the label configuration for this level.voidinitFromJson(com.oorian.json.JsonValue json) voidsetEmphasis(EChartsEmphasis emphasis) Sets the emphasis configuration for this level.voidsetItemStyle(EChartsItemStyle itemStyle) Sets the item style configuration for this level.voidsetLabel(EChartsLabel label) Sets the label configuration for this level.com.oorian.json.JsonValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oorian.json.Jsonable
initFromJson, initFromJson
-
Constructor Details
-
Level
public Level()Default constructor.
-
-
Method Details
-
setItemStyle
Sets the item style configuration for this level.- Parameters:
itemStyle- the item style configuration
-
setLabel
Sets the label configuration for this level.- Parameters:
label- the label configuration
-
setEmphasis
Sets the emphasis configuration for this level.- Parameters:
emphasis- the emphasis configuration
-
getItemStyle
Gets the item style configuration for this level.- Returns:
- the item style configuration
-
getLabel
Gets the label configuration for this level.- Returns:
- the label configuration
-
getEmphasis
Gets the emphasis configuration for this level.- Returns:
- the emphasis configuration
-
initFromJson
public void initFromJson(com.oorian.json.JsonValue json) - Specified by:
initFromJsonin interfacecom.oorian.json.Jsonable
-
toJsonValue
public com.oorian.json.JsonValue toJsonValue()- Specified by:
toJsonValuein interfacecom.oorian.json.Jsonable
-
toJsonString
- Specified by:
toJsonStringin interfacecom.oorian.json.Jsonable
-