Enum EPLTableGridType
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,IPLTableGridType,Serializable,Comparable<EPLTableGridType>,java.lang.constant.Constable
Default table grids.
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate all grid lines.Create all grid lines except for the border lines.Create all horizontal lines.Create only horizontal lines but without the border lines on top and on bottom.Create all horizontal lines.Create no grid lines at allCreate all grid lines.Create all vertical lines.Create only vertical lines but without the border lines left and right.Create all vertical lines. -
Method Summary
Modifier and TypeMethodDescriptionstatic EPLTableGridTypegetFromIDOrNull(String sID) getID()static EPLTableGridTypeReturns the enum constant of this type with the specified name.static EPLTableGridType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.helger.pdflayout.element.table.IPLTableGridType
applyGridToTable, applyGridToTable, applyGridToTable
-
Enum Constant Details
-
NONE
Create no grid lines at all -
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
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
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
Create all horizontal lines. The first row has a border on top and bottom, all other rows only at the bottom -
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
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
Create all vertical lines. The first column has a border on left and right, all other columns only at the right -
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
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
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
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 nameNullPointerException- if the argument is null
-
getID
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getFromIDOrNull
-