Class EditorGuidesOptions
java.lang.Object
org.primefaces.shaded.json.JSONObject
org.primefaces.extensions.model.monacoeditor.EditorGuidesOptions
- All Implemented Interfaces:
Serializable
public class EditorGuidesOptions
extends org.primefaces.shaded.json.JSONObject
implements Serializable
Controls the behavior of editor guides.
- See Also:
-
Field Summary
Fields inherited from class org.primefaces.shaded.json.JSONObject
NULL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetBracketPairs
(Boolean bracketPairs) setBracketPairsHorizontal
(Boolean bracketPairsHorizontal) setHighlightActiveBracketPair
(Boolean highlightActiveBracketPair) setHighlightActiveIndentation
(Boolean highlightActiveIndentation) setIndentation
(Boolean indentation) 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
-
Constructor Details
-
EditorGuidesOptions
public EditorGuidesOptions()
-
-
Method Details
-
isBracketPairs
- Returns:
- Enable rendering of bracket pair guides. Defaults to
false
.
-
setBracketPairs
- Parameters:
bracketPairs
- Enable rendering of bracket pair guides. Defaults tofalse
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isBracketPairsHorizontal
- Returns:
- Enable rendering of vertical bracket pair guides. Defaults to
true
.
-
setBracketPairsHorizontal
- Parameters:
bracketPairsHorizontal
- Enable rendering of vertical bracket pair guides. Defaults totrue
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isHighlightActiveBracketPair
- Returns:
- Enable highlighting of the active bracket pair. Defaults to
true
.
-
setHighlightActiveBracketPair
- Parameters:
highlightActiveBracketPair
- Enable highlighting of the active bracket pair. Defaults totrue
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isHighlightActiveIndentation
- Returns:
- Enable highlighting of the active indent guide. Defaults to
true
.
-
setHighlightActiveIndentation
- Parameters:
highlightActiveIndentation
- Enable highlighting of the active indent guide. Defaults totrue
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isIndentation
- Returns:
- Enable rendering of indent guides. Defaults to
true
.
-
setIndentation
- Parameters:
indentation
- Enable rendering of indent guides. Defaults totrue
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-