Class EditorCommentsOptions
- java.lang.Object
-
- org.primefaces.shaded.json.JSONObject
-
- org.primefaces.extensions.model.monacoeditor.EditorCommentsOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class EditorCommentsOptions extends org.primefaces.shaded.json.JSONObject implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EditorCommentsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanisIgnoreEmptyLines()java.lang.BooleanisInsertSpace()EditorCommentsOptionssetIgnoreEmptyLines(java.lang.Boolean ignoreEmptyLines)EditorCommentsOptionssetInsertSpace(java.lang.Boolean insertSpace)-
Methods inherited from class org.primefaces.shaded.json.JSONObject
accumulate, append, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getNumber, getString, has, increment, isDecimalNotation, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optFloat, optFloat, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, 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
-
-
-
-
Method Detail
-
isIgnoreEmptyLines
public java.lang.Boolean isIgnoreEmptyLines()
- Returns:
- Ignore empty lines when inserting line comments. Defaults to true.
-
setIgnoreEmptyLines
public EditorCommentsOptions setIgnoreEmptyLines(java.lang.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 java.lang.Boolean isInsertSpace()
- Returns:
- Insert a space after the line comment token and inside the block comments tokens. Defaults to
true.
-
setInsertSpace
public EditorCommentsOptions setInsertSpace(java.lang.Boolean insertSpace)
- Parameters:
insertSpace- Insert a space after the line comment token and inside the block comments tokens. Defaults totrue.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
-