Package com.openhtmltopdf.layout
Enum LineBreakContext.LineBreakResult
java.lang.Object
java.lang.Enum<LineBreakContext.LineBreakResult>
com.openhtmltopdf.layout.LineBreakContext.LineBreakResult
- All Implemented Interfaces:
Serializable,Comparable<LineBreakContext.LineBreakResult>,java.lang.constant.Constable
- Enclosing class:
- LineBreakContext
public static enum LineBreakContext.LineBreakResult extends Enum<LineBreakContext.LineBreakResult>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description CHAR_BREAKING_FINISHEDCHAR_BREAKING_FOUND_WORD_BREAKCHAR_BREAKING_NEED_NEW_LINECHAR_BREAKING_UNBREAKABLEWORD_BREAKING_FINISHEDWORD_BREAKING_NEED_NEW_LINEWORD_BREAKING_UNBREAKABLE -
Method Summary
Modifier and Type Method Description static LineBreakContext.LineBreakResultvalueOf(String name)Returns the enum constant of this type with the specified name.static LineBreakContext.LineBreakResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHAR_BREAKING_NEED_NEW_LINE
-
WORD_BREAKING_NEED_NEW_LINE
-
CHAR_BREAKING_UNBREAKABLE
-
WORD_BREAKING_UNBREAKABLE
-
CHAR_BREAKING_FOUND_WORD_BREAK
-
CHAR_BREAKING_FINISHED
-
WORD_BREAKING_FINISHED
-
-
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
-