Class EChartsToolbox.Feature

java.lang.Object
com.oorian.echarts.options.EChartsToolbox.Feature
All Implemented Interfaces:
com.oorian.json.Jsonable
Enclosing class:
EChartsToolbox

public static class EChartsToolbox.Feature extends Object implements com.oorian.json.Jsonable
Represents the feature configuration for the toolbox, containing various tool options.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initFromJson(com.oorian.json.JsonValue json)
    Initializes this Feature from a JSON value.
    Converts this Feature to a JSON string.
    com.oorian.json.JsonValue
    Converts this Feature to a JSON value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      initFromJson in interface com.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:
      toJsonValue in interface com.oorian.json.Jsonable
      Returns:
      The JSON representation of this Feature.
    • toJsonString

      public String toJsonString()
      Converts this Feature to a JSON string.
      Specified by:
      toJsonString in interface com.oorian.json.Jsonable
      Returns:
      The JSON string representation of this Feature.