Class GridLayoutElement

    • Method Detail

      • elementId

        public final String elementId()

        A unique identifier for an element within a grid layout.

        Returns:
        A unique identifier for an element within a grid layout.
      • columnIndex

        public final Integer columnIndex()

        The column index for the upper left corner of an element.

        Returns:
        The column index for the upper left corner of an element.
      • columnSpan

        public final Integer columnSpan()

        The width of a grid element expressed as a number of grid columns.

        Returns:
        The width of a grid element expressed as a number of grid columns.
      • rowIndex

        public final Integer rowIndex()

        The row index for the upper left corner of an element.

        Returns:
        The row index for the upper left corner of an element.
      • rowSpan

        public final Integer rowSpan()

        The height of a grid element expressed as a number of grid rows.

        Returns:
        The height of a grid element expressed as a number of grid rows.
      • 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)