Enum EPLTableGridType

java.lang.Object
java.lang.Enum<EPLTableGridType>
com.helger.pdflayout.element.table.EPLTableGridType
All Implemented Interfaces:
com.helger.commons.id.IHasID<String>, IPLTableGridType, Serializable, Comparable<EPLTableGridType>, java.lang.constant.Constable

public enum EPLTableGridType extends Enum<EPLTableGridType> implements IPLTableGridType
Default table grids.
Author:
Philip Helger
  • Enum Constant Details

    • NONE

      public static final EPLTableGridType NONE
      Create no grid lines at all
    • FULL

      public static final EPLTableGridType FULL
      Create all grid lines. The first row has the border also on top, the other rows don't. The first column also has a border on the left, the others don't.
    • FULL_NO_BORDER

      public static final EPLTableGridType FULL_NO_BORDER
      Create all grid lines except for the border lines. The first row has the border also on top, the other rows don't. The
    • OUTER

      public static final EPLTableGridType OUTER
      Create all grid lines. The first row has the border also on top, the other rows don't. The first column also has a border on the left, the others don't.
    • HORZ_ALL

      public static final EPLTableGridType HORZ_ALL
      Create all horizontal lines. The first row has a border on top and bottom, all other rows only at the bottom
    • HORZ_OUTER_BORDER

      public static final EPLTableGridType HORZ_OUTER_BORDER
      Create all horizontal lines. The first row has a border on all sides all other rows at outer left, outer right and every bottom
    • HORZ_NO_BORDER

      public static final EPLTableGridType HORZ_NO_BORDER
      Create only horizontal lines but without the border lines on top and on bottom. All rows have a border on bottom except for the last line which has no border.
    • VERT_ALL

      public static final EPLTableGridType VERT_ALL
      Create all vertical lines. The first column has a border on left and right, all other columns only at the right
    • VERT_OUTER_BORDER

      public static final EPLTableGridType VERT_OUTER_BORDER
      Create all vertical lines. The first column has a border on left, right and top, all other columns at the outer top, outer bottom and every right
    • VERT_NO_BORDER

      public static final EPLTableGridType VERT_NO_BORDER
      Create only vertical lines but without the border lines left and right. The first column has a border on left and right, all other columns only at the right
  • Method Details

    • values

      public static EPLTableGridType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EPLTableGridType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getID

      @Nonnull @Nonempty public String getID()
      Specified by:
      getID in interface com.helger.commons.id.IHasID<String>
    • getFromIDOrNull

      public static EPLTableGridType getFromIDOrNull(@Nullable String sID)