Class TableProperties


  • public final class TableProperties
    extends Object
    Provides properties needed for a table. This class is immutable.
    • Method Detail

      • getTableRowSpacing

        public int getTableRowSpacing()
        Gets the table row spacing, in other words the vertical spacing between two rows of table cells.
        Returns:
        the table row spacing
      • getTableColSpacing

        public int getTableColSpacing()
        Gets the table column spacing, in other words the horizontal spacing between two columns of table cells.
        Returns:
        the table column spacing
      • getPreferredEmtpySpace

        public int getPreferredEmtpySpace()
        Gets the preferred empty space in table cells when the text content is shorter than the available maximum column width
        Returns:
        returns the number of character positions to leave empty
      • getRowSpacing

        public Float getRowSpacing()
        Gets the row spacing, or null if not set. This is the spacing between the output rows that are used to present the table.
        Returns:
        returns the row spacing
      • getMargin

        public BlockSpacing getMargin()
        Gets the margin
        Returns:
        returns the margin
      • getPadding

        public BlockSpacing getPadding()
        Gets the padding
        Returns:
        returns the padding
      • getBorder

        public Border getBorder()
        Gets the border, or null if not set
        Returns:
        returns the border
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object