public enum BreakType extends java.lang.Enum<BreakType>
Enum Constant and Description |
---|
COLUMN
Specifies that the current break shall restart itself on the next column
available on the current page when the document is displayed in page
view.
|
PAGE
Specifies that the current break shall restart itself on the next page of
the document when the document is displayed in page view.
|
TEXT_WRAPPING
Specifies that the current break shall restart itself on the next line in
the document when the document is displayed in page view.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BreakType |
valueOf(int type) |
static BreakType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BreakType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreakType PAGE
public static final BreakType COLUMN
If the current section is not divided into columns, or the column break occurs in the last column on the current page when displayed, then the restart location for text shall be the next page in the document.
public static final BreakType TEXT_WRAPPING
public static BreakType[] values()
for (BreakType c : BreakType.values()) System.out.println(c);
public static BreakType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BreakType valueOf(int type)
public int getValue()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.