Class EditorCommentsOptions

java.lang.Object
org.primefaces.json.JSONObject
com.github.blutorange.primefaces.config.monacoeditor.EditorCommentsOptions
All Implemented Interfaces:
Serializable

public class EditorCommentsOptions
extends org.primefaces.json.JSONObject
implements Serializable
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.primefaces.json.JSONObject

    NULL
  • Constructor Summary

    Constructors 
    Constructor Description
    EditorCommentsOptions()  
  • Method Summary

    Modifier and Type Method Description
    Boolean isInsertSpace()  
    EditorCommentsOptions setInsertSpace​(Boolean insertSpace)  

    Methods inherited from class org.primefaces.json.JSONObject

    accumulate, append, doubleToString, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, write

    Methods inherited from class java.lang.Object

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

  • Method Details

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