Package de.xima.fc.gui.common.statics
Enum EMonacoOptions
- java.lang.Object
-
- java.lang.Enum<EMonacoOptions>
-
- de.xima.fc.gui.common.statics.EMonacoOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<EMonacoOptions>
public enum EMonacoOptions extends Enum<EMonacoOptions>
Enumeration of default options for the monaco code editor.- Since:
- 6.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSS
Default monaco editor options for editing CSS files.HTML
Default monaco editor options for editing HTML.JAVASCRIPT
Default monaco editor options for editing JavaScript.JSON
Default monaco editor options for editing JSON files.SCSS
Default monaco editor options for editing SCSS files.XML
Default monaco editor options for editing XML files.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.primefaces.extensions.model.monacoeditor.EditorOptions
getValue()
static EMonacoOptions
valueOf(String name)
Returns the enum constant of this type with the specified name.static EMonacoOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CSS
public static final EMonacoOptions CSS
Default monaco editor options for editing CSS files.
-
HTML
public static final EMonacoOptions HTML
Default monaco editor options for editing HTML.
-
JAVASCRIPT
public static final EMonacoOptions JAVASCRIPT
Default monaco editor options for editing JavaScript.
-
JSON
public static final EMonacoOptions JSON
Default monaco editor options for editing JSON files.
-
SCSS
public static final EMonacoOptions SCSS
Default monaco editor options for editing SCSS files.
-
XML
public static final EMonacoOptions XML
Default monaco editor options for editing XML files.
-
-
Method Detail
-
values
public static EMonacoOptions[] 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 (EMonacoOptions c : EMonacoOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMonacoOptions 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 nameNullPointerException
- if the argument is null
-
getValue
public org.primefaces.extensions.model.monacoeditor.EditorOptions getValue()
- Returns:
- The monaco editor options you can pass on to the monaco editor primefaces component widget. Do NOT MODIFY these options.
-
-