Enum EGoToLocationValues
- java.lang.Object
-
- java.lang.Enum<EGoToLocationValues>
-
- org.primefaces.extensions.model.monacoeditor.EGoToLocationValues
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EGoToLocationValues>
public enum EGoToLocationValues extends java.lang.Enum<EGoToLocationValues>
nes the behavior of a goto command in the editor.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOTONavigate directly to the source code location.GOTO_AND_PEEKOpen an inline window with a peek preview of the location and offer the option to navigation to the source code location.PEEKOpen an inline window with a peek preview of the location.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EGoToLocationValuesparseString(java.lang.String name)java.lang.StringtoString()static EGoToLocationValuesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EGoToLocationValues[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PEEK
public static final EGoToLocationValues PEEK
Open an inline window with a peek preview of the location.
-
GOTO_AND_PEEK
public static final EGoToLocationValues GOTO_AND_PEEK
Open an inline window with a peek preview of the location and offer the option to navigation to the source code location.
-
GOTO
public static final EGoToLocationValues GOTO
Navigate directly to the source code location.
-
-
Method Detail
-
values
public static EGoToLocationValues[] 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 (EGoToLocationValues c : EGoToLocationValues.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EGoToLocationValues 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<EGoToLocationValues>
-
parseString
public static EGoToLocationValues parseString(java.lang.String name)
-
-