- All Implemented Interfaces:
Serializable
,Comparable<ColumnWidthType>
,java.lang.constant.Constable
Determines the type of width being specified, either relative where the sum
of all relative widths represents 100%; or absolute in number of chars.
Specifying relative widths instead of percent (%) does not require various
widths to add up to 100%. This is especially useful when the number of
relative widths may vary; recalculation of all the relative widths to add up
to 100% is obsolete as having relative widths, and not percent (%)..
- Author:
- steiner
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnWidthType
Returns the enum constant of this type with the specified name.static ColumnWidthType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RELATIVE
The width is being relative; The total sum of all of relative widths represents 100%. -
ABSOLUTE
The width is being specified absolute in number of chars.
-
-
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
-