Enum EOccurrencesHighlight
- java.lang.Object
-
- java.lang.Enum<EOccurrencesHighlight>
-
- org.primefaces.extensions.model.monacoeditor.EOccurrencesHighlight
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EOccurrencesHighlight>
public enum EOccurrencesHighlight extends java.lang.Enum<EOccurrencesHighlight>
le semantic occurrences highlight. Defaults tosingleFile.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI_FILETriggers occurrence highlighting across valid open documents.OFFDisables occurrence highlighting.SINGLE_FILETriggers occurrence highlighting in the current document.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EOccurrencesHighlightparseString(java.lang.String name)java.lang.StringtoString()static EOccurrencesHighlightvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EOccurrencesHighlight[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final EOccurrencesHighlight OFF
Disables occurrence highlighting.
-
SINGLE_FILE
public static final EOccurrencesHighlight SINGLE_FILE
Triggers occurrence highlighting in the current document.
-
MULTI_FILE
public static final EOccurrencesHighlight MULTI_FILE
Triggers occurrence highlighting across valid open documents.
-
-
Method Detail
-
values
public static EOccurrencesHighlight[] 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 (EOccurrencesHighlight c : EOccurrencesHighlight.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EOccurrencesHighlight 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<EOccurrencesHighlight>
-
parseString
public static EOccurrencesHighlight parseString(java.lang.String name)
-
-