Class HCCol

    • Constructor Detail

      • HCCol

        public HCCol()
    • Method Detail

      • star

        @Nonnull
        public static HCCol star()
        Returns:
        A new "star" column (<col width="*" />). Never null.
      • perc

        @Nonnull
        public static HCCol perc​(@Nonnegative
                                 int nPerc)
        Create a new column with a certain percentage.
        Parameters:
        nPerc - The percentage to be used. Should ideally be between 0 and 100.
        Returns:
        Never null.
      • fromString

        @Nonnull
        public static HCCol fromString​(@Nullable
                                       String sWidth)
        Create a new column with an arbitrary width definition.
        Parameters:
        sWidth - The width to be used. May be null.
        Returns:
        Never null.