Class CheckBoxFieldDescriptor

    • Constructor Detail

      • CheckBoxFieldDescriptor

        public CheckBoxFieldDescriptor​(String name,
                                       String description)
        Create a new CheckBoxFieldDescriptor.
        Parameters:
        name - The field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor). This name will also be used as the label for the field in the administrative console. To ensure configuration can be read in future releases of a plugin, it is recommended to not change a field's name - instead use a label to rename it in the administrative console.
        description - A helpful description of the field.
    • Method Detail

      • setDefaultValue

        public void setDefaultValue​(boolean defaultValue)
        Set the default value for this individual field as a boolean.
        Parameters:
        defaultValue - The default value for this field.