Enum Class LayoutGridMode
- All Implemented Interfaces:
Serializable,Comparable<LayoutGridMode>,Constable
Enables Asian layout grids.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutGridModeReturns the enum constant of this class with the specified name.static LayoutGridMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINE
Enables a line layout, this is, the page is divided in a fixed number of lines. The exact number of lines depends on the other layout grid formatting properties. There is no space between the layout grid lines. The layout grid itself is centered on the page. -
BOTH
Like lines, except that the lines are divided into rectangular layout cells. Within a layout cell, no more than one Asian [UNICODE] character is displayed. An Asian character that does not fit into a single layout cell is displayed centered into as many layout cells as required. Non Asian text is centered within as many cells as required. -
NONE
None.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-