Enum EMonacoOptions

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