Enum EWordBreak
- java.lang.Object
-
- java.lang.Enum<EWordBreak>
-
- org.primefaces.extensions.model.monacoeditor.EWordBreak
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EWordBreak>
public enum EWordBreak extends java.lang.Enum<EWordBreak>
whether line breaks appear wherever the text would otherwise overflow its content box. When wordBreak =normal, Use the default line break rule. When wordBreak =keepAll, word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EWordBreakparseString(java.lang.String name)java.lang.StringtoString()static EWordBreakvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EWordBreak[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final EWordBreak NORMAL
-
KEEP_ALL
public static final EWordBreak KEEP_ALL
-
-
Method Detail
-
values
public static EWordBreak[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EWordBreak c : EWordBreak.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWordBreak valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<EWordBreak>
-
parseString
public static EWordBreak parseString(java.lang.String name)
-
-