Class IndicatorDescriptor

java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<IndicatorInfo>
com.motivewave.platform.sdk.common.desc.IndicatorDescriptor

public class IndicatorDescriptor extends SettingDescriptor<IndicatorInfo>
Describes an indicator that is displayed on the axis.
  • Constructor Details

    • IndicatorDescriptor

      public IndicatorDescriptor(String id, String label, Color bgColor, Color txtColor, boolean showLine, boolean enabled, boolean supportsDisable)
      Constructor
      Parameters:
      id - name of this setting
      label - label displayed to the user
      bgColor - default background color for the indicator
      txtColor - default text color of the indicator
      showLine - indicates if the line is shown by default
      enabled - indicates if the indicator is enabled by default
      supportsDisable - indicates if the user can disable the indicator
    • IndicatorDescriptor

      public IndicatorDescriptor(String id, String label, Color bgColor, Color txtColor, Font font, boolean showInd, Color lineColor, float lineWidth, float[] lineDash, boolean showLine, boolean enabled, boolean supportsDisable)
      Constructor
      Parameters:
      id - name of this setting
      label - label displayed to the user
      bgColor - default background color for the indicator
      txtColor - default text color of the indicator
      showLine - indicates if the line is shown by default
      enabled - indicates if the indicator is enabled by default
      supportsDisable - indicates if the user can disable the indicator
    • IndicatorDescriptor

      public IndicatorDescriptor(String id, String label, Color bgColor, Color txtColor, Font font, boolean showInd, Color lineColor, float lineWidth, float[] lineDash, boolean showLine, boolean showTag, String tag, boolean enabled, boolean supportsDisable)
      Constructor
      Parameters:
      id - name of this setting
      label - label displayed to the user
      bgColor - default background color for the indicator
      txtColor - default text color of the indicator
      showLine - indicates if the line is shown by default
      showTag - indicates if the tag is shown by default
      tag - default tag text
      enabled - indicates if the indicator is enabled by default
      supportsDisable - indicates if the user can disable the indicator
  • Method Details