Class BooleanDescriptor

java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor<Boolean>
com.motivewave.platform.sdk.common.desc.BooleanDescriptor

public class BooleanDescriptor extends SettingDescriptor<Boolean>
Describes a boolean setting
  • Constructor Details

    • BooleanDescriptor

      public BooleanDescriptor(String name, String label, Boolean defaultValue)
      Constructor
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default boolean value
    • BooleanDescriptor

      public BooleanDescriptor(String name, String label, Boolean defaultValue, boolean showLabel)
      Constructor
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default boolean value
      showLabel - indicates if the label should be displayed
    • BooleanDescriptor

      public BooleanDescriptor(String name, String label, Boolean defaultValue, boolean showLabel, int gridWidth)
      Constructor
      Parameters:
      name - name of this setting (key)
      label - label displayed to the user
      defaultValue - default boolean value
      showLabel - indicates if the label should be displayed
      gridWidth - overrides the default grid width of 1
  • Method Details