Class LayoutConfiguration

    • Method Detail

      • gridLayout

        public final GridLayoutConfiguration gridLayout()

        A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED or RESPONSIVE.

        Returns:
        A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED or RESPONSIVE.
      • freeFormLayout

        public final FreeFormLayoutConfiguration freeFormLayout()

        A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.

        Returns:
        A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
      • sectionBasedLayout

        public final SectionBasedLayoutConfiguration sectionBasedLayout()

        A section based layout organizes visuals into multiple sections and has customized header, footer and page break.

        Returns:
        A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)