Package de.xima.fc.gui.common.statics
Enum EMonacoOptions
- All Implemented Interfaces:
Serializable
,Comparable<EMonacoOptions>
Enumeration of default options for the monaco code editor.
- Since:
- 6.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault monaco editor options for editing CSS files.Default monaco editor options for editing HTML.Default monaco editor options for editing JavaScript.Default monaco editor options for editing JSON files.Default monaco editor options for editing SCSS files.Default monaco editor options for editing XML files. -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.extensions.model.monacoeditor.EditorOptions
getValue()
static EMonacoOptions
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 Details
-
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 Details
-
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
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.
-