Package com.oorian.echarts.options
Class EChartsToolbox.Feature
java.lang.Object
com.oorian.echarts.options.EChartsToolbox.Feature
- All Implemented Interfaces:
com.oorian.json.Jsonable
- Enclosing class:
EChartsToolbox
Represents the feature configuration for the toolbox, containing various tool options.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitFromJson(com.oorian.json.JsonValue json) Initializes this Feature from a JSON value.Converts this Feature to a JSON string.com.oorian.json.JsonValueConverts this Feature to a JSON value.Methods 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
-
Feature
public Feature()
-
-
Method Details
-
initFromJson
public void initFromJson(com.oorian.json.JsonValue json) Initializes this Feature from a JSON value.- Specified by:
initFromJsonin interfacecom.oorian.json.Jsonable- Parameters:
json- The JSON value to initialize from.
-
toJsonValue
public com.oorian.json.JsonValue toJsonValue()Converts this Feature to a JSON value.- Specified by:
toJsonValuein interfacecom.oorian.json.Jsonable- Returns:
- The JSON representation of this Feature.
-
toJsonString
Converts this Feature to a JSON string.- Specified by:
toJsonStringin interfacecom.oorian.json.Jsonable- Returns:
- The JSON string representation of this Feature.
-