Class StaticFormTheme.FormThemeFileMeta.Builder

  • Enclosing class:
    StaticFormTheme.FormThemeFileMeta

    public static final class StaticFormTheme.FormThemeFileMeta.Builder
    extends Object
    A builder for configuring the metadata of a file in a form theme.
    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • build

        public StaticFormTheme.FormThemeFileMeta build()
        Creates a new metadata instance for a file in a form theme with the current configuration. Subsequent changes to the builder do not affect the returned metadata instance.
        Returns:
        A new metadata instance for a file in a form theme.
      • offerCssClassesAsSuggestions

        public StaticFormTheme.FormThemeFileMeta.Builder offerCssClassesAsSuggestions()
        Indicates that CSS classes of the form theme file should be offered as suggestions in the form designer. Users can add custom CSS classes to a form element. When this option is enabled, the form designer offers the CSS classes of the form theme file as suggestions. Overrides any previously set value.
        Returns:
        This builder for chaining method calls.
      • offerCssClassesAsSuggestions

        public StaticFormTheme.FormThemeFileMeta.Builder offerCssClassesAsSuggestions​(boolean offerCssClassesAsSuggestions)
        Sets whether the CSS classes of the form theme file should be offered as suggestions in the form designer. Users can add custom CSS classes to a form element. When this option is enabled, the form designer offers the CSS classes of the form theme file as suggestions. Overrides any previously set value.
        Parameters:
        offerCssClassesAsSuggestions - Whether the CSS classes should be offered as suggestions.
        Returns:
        This builder for chaining method calls.