Class ColorDescriptor

java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<ColorInfo>
com.motivewave.platform.sdk.common.desc.ColorDescriptor

public class ColorDescriptor extends SettingDescriptor<ColorInfo>
Describes a color setting.
  • Constructor Details

    • ColorDescriptor

      public ColorDescriptor(String name, String label, Color defaultValue)
      Constructor. Creates a color desccriptor with the name (key), label and default color
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default color value
    • ColorDescriptor

      public ColorDescriptor(String name, String label, Color defaultValue, boolean enabled, boolean supportsDisable)
      Constructor.
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default color value
      enabled - default enabled state
      supportsDisable - indicates if the user can disable this setting
    • ColorDescriptor

      public ColorDescriptor(String name, String label, ColorInfo defaultValue, boolean supportsDisable)
      Constructor.
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default color value
      supportsDisable - indicates if the user can disable this setting
      enabled - default enabled state
  • Method Details