Class AuthorTableColumnWidthProviderBase

    • Constructor Detail

      • AuthorTableColumnWidthProviderBase

        public AuthorTableColumnWidthProviderBase()
        Constructor
      • AuthorTableColumnWidthProviderBase

        public AuthorTableColumnWidthProviderBase​(TableLayoutErrorsListener errorsListener)
        Constructor
        Parameters:
        errorsListener - Table layout errors listener
        Since:
        18
    • Method Detail

      • setErrorsListener

        public void setErrorsListener​(TableLayoutErrorsListener errorsListener)
        Set a table layout error listener.
        Parameters:
        errorsListener - The table layout errors listener.
        Since:
        18
      • getAllColspecWidthRepresentations

        public abstract java.util.List<WidthRepresentation> getAllColspecWidthRepresentations()
        Get all with representations defined in all colspecs. If a colspec does not specify a width, it is supposed to be 1*. If the table group specifies more columns than colspecs, those widths are supposed to be 1*.
        Returns:
        All width representations from the defined colspecs.
      • getErrorsListener

        public TableLayoutErrorsListener getErrorsListener()
        Get table layout error listener
        Returns:
        Returns the table layout errors listener .
      • isPreferPercentageColumnWidths

        public boolean isPreferPercentageColumnWidths​(java.lang.String tableCellsTagName)
        Check if percentage column widths are preferred.
        Parameters:
        tableCellsTagName - The cell tag name
        Returns:
        false by default.
        Since:
        20