Class EditorCommentsOptions

java.lang.Object
org.primefaces.shaded.json.JSONObject
org.primefaces.extensions.model.monacoeditor.EditorCommentsOptions
All Implemented Interfaces:
Serializable

public class EditorCommentsOptions extends org.primefaces.shaded.json.JSONObject implements Serializable
Configuration options for editor comments
See Also:
  • Field Summary

    Fields inherited from class org.primefaces.shaded.json.JSONObject

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    setIgnoreEmptyLines(Boolean ignoreEmptyLines)
     
    setInsertSpace(Boolean insertSpace)
     

    Methods inherited from class org.primefaces.shaded.json.JSONObject

    accumulate, append, clear, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getMapType, getNames, getNames, getNumber, getString, has, increment, isDecimalNotation, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optBooleanObject, optBooleanObject, optDouble, optDouble, optDoubleObject, optDoubleObject, optEnum, optEnum, optFloat, optFloat, optFloatObject, optFloatObject, optInt, optInt, optIntegerObject, optIntegerObject, optJSONArray, optJSONArray, optJSONObject, optJSONObject, optLong, optLong, optLongObject, optLongObject, optNumber, optNumber, optQuery, optQuery, optString, optString, put, put, put, put, put, put, put, put, putOnce, putOpt, query, query, quote, quote, remove, similar, stringToNumber, stringToValue, testValidity, toJSONArray, toMap, toString, toString, valueToString, wrap, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EditorCommentsOptions

      public EditorCommentsOptions()
  • Method Details

    • isIgnoreEmptyLines

      public Boolean isIgnoreEmptyLines()
      Returns:
      Ignore empty lines when inserting line comments. Defaults to true.
    • setIgnoreEmptyLines

      public EditorCommentsOptions setIgnoreEmptyLines(Boolean ignoreEmptyLines)
      Parameters:
      ignoreEmptyLines - Ignore empty lines when inserting line comments. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isInsertSpace

      public Boolean isInsertSpace()
      Returns:
      Insert a space after the line comment token and inside the block comments tokens. Defaults to true.
    • setInsertSpace

      public EditorCommentsOptions setInsertSpace(Boolean insertSpace)
      Parameters:
      insertSpace - Insert a space after the line comment token and inside the block comments tokens. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.