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
    Default 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 Type
    Method
    Description
    org.primefaces.extensions.model.monacoeditor.EditorOptions
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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 Details

    • values

      public static EMonacoOptions[] 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

      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 name
      NullPointerException - 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.