Enum EDiffWordWrap

java.lang.Object
java.lang.Enum<EDiffWordWrap>
org.primefaces.extensions.model.monacoeditor.EDiffWordWrap
All Implemented Interfaces:
Serializable, Comparable<EDiffWordWrap>

public enum EDiffWordWrap extends Enum<EDiffWordWrap>
rols the wrapping of the diff editor.
  • Enum Constant Details

    • ON

      public static final EDiffWordWrap ON
      Wrap words.
    • OFF

      public static final EDiffWordWrap OFF
      Do not wrap words.
    • INHERIT

      public static final EDiffWordWrap INHERIT
      Inherit from the parent DOM element.
  • Method Details

    • values

      public static EDiffWordWrap[] 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

      public static EDiffWordWrap valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EDiffWordWrap>
    • parseString

      public static EDiffWordWrap parseString(String name)