Class EditorGuidesOptions

  • All Implemented Interfaces:
    java.io.Serializable

    public class EditorGuidesOptions
    extends org.primefaces.shaded.json.JSONObject
    implements java.io.Serializable
    Controls the behavior of editor guides.
    See Also:
    Serialized Form
    • Field Summary

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

        NULL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean isBracketPairs()  
      java.lang.Boolean isBracketPairsHorizontal()  
      java.lang.Boolean isHighlightActiveBracketPair()  
      java.lang.Boolean isHighlightActiveIndentation()  
      java.lang.Boolean isIndentation()  
      EditorGuidesOptions setBracketPairs​(java.lang.Boolean bracketPairs)  
      EditorGuidesOptions setBracketPairsHorizontal​(java.lang.Boolean bracketPairsHorizontal)  
      EditorGuidesOptions setHighlightActiveBracketPair​(java.lang.Boolean highlightActiveBracketPair)  
      EditorGuidesOptions setHighlightActiveIndentation​(java.lang.Boolean highlightActiveIndentation)  
      EditorGuidesOptions setIndentation​(java.lang.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, optDouble, optDouble, optEnum, optEnum, optFloat, optFloat, optInt, optInt, optJSONArray, optJSONObject, 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
      • Methods inherited from class java.lang.Object

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

      • EditorGuidesOptions

        public EditorGuidesOptions()
    • Method Detail

      • isBracketPairs

        public java.lang.Boolean isBracketPairs()
        Returns:
        Enable rendering of bracket pair guides. Defaults to false.
      • setBracketPairs

        public EditorGuidesOptions setBracketPairs​(java.lang.Boolean bracketPairs)
        Parameters:
        bracketPairs - Enable rendering of bracket pair guides. Defaults to false.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.
      • isBracketPairsHorizontal

        public java.lang.Boolean isBracketPairsHorizontal()
        Returns:
        Enable rendering of vertical bracket pair guides. Defaults to true.
      • setBracketPairsHorizontal

        public EditorGuidesOptions setBracketPairsHorizontal​(java.lang.Boolean bracketPairsHorizontal)
        Parameters:
        bracketPairsHorizontal - Enable rendering of vertical bracket pair guides. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.
      • isHighlightActiveBracketPair

        public java.lang.Boolean isHighlightActiveBracketPair()
        Returns:
        Enable highlighting of the active bracket pair. Defaults to true.
      • setHighlightActiveBracketPair

        public EditorGuidesOptions setHighlightActiveBracketPair​(java.lang.Boolean highlightActiveBracketPair)
        Parameters:
        highlightActiveBracketPair - Enable highlighting of the active bracket pair. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.
      • isHighlightActiveIndentation

        public java.lang.Boolean isHighlightActiveIndentation()
        Returns:
        Enable highlighting of the active indent guide. Defaults to true.
      • setHighlightActiveIndentation

        public EditorGuidesOptions setHighlightActiveIndentation​(java.lang.Boolean highlightActiveIndentation)
        Parameters:
        highlightActiveIndentation - Enable highlighting of the active indent guide. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.
      • isIndentation

        public java.lang.Boolean isIndentation()
        Returns:
        Enable rendering of indent guides. Defaults to true.
      • setIndentation

        public EditorGuidesOptions setIndentation​(java.lang.Boolean indentation)
        Parameters:
        indentation - Enable rendering of indent guides. Defaults to true.
        Returns:
        This same instance, useful for chaining multiple setter methods in one call.