Enum ELineNumbers
- java.lang.Object
-
- java.lang.Enum<ELineNumbers>
-
- org.primefaces.extensions.model.monacoeditor.ELineNumbers
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ELineNumbers>
public enum ELineNumbers extends java.lang.Enum<ELineNumbers>
rol the rendering of line numbers. If it is a function, it will be invoked when rendering a line number and the return value will be rendered. Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using an identity function). Otherwise, line numbers will not be rendered. Defaults toon.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ELineNumbersparseString(java.lang.String name)java.lang.StringtoString()static ELineNumbersvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ELineNumbers[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON
public static final ELineNumbers ON
-
OFF
public static final ELineNumbers OFF
-
RELATIVE
public static final ELineNumbers RELATIVE
-
INTERVAL
public static final ELineNumbers INTERVAL
-
-
Method Detail
-
values
public static ELineNumbers[] 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 (ELineNumbers c : ELineNumbers.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ELineNumbers 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<ELineNumbers>
-
parseString
public static ELineNumbers parseString(java.lang.String name)
-
-