Class EditorStickyScrollOptions

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

public class EditorStickyScrollOptions extends org.primefaces.shaded.json.JSONObject implements Serializable
Control the behavior of sticky scroll options
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
     
     
     
    setMaxLineCount(Number maxLineCount)
     

    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 Details

    • EditorStickyScrollOptions

      public EditorStickyScrollOptions()
  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Returns:
      Enable the sticky scroll
    • setEnabled

      public EditorStickyScrollOptions setEnabled(Boolean enabled)
      Parameters:
      enabled - Enable the sticky scroll
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • getMaxLineCount

      public Number getMaxLineCount()
      Returns:
      Maximum number of sticky lines to show
    • setMaxLineCount

      public EditorStickyScrollOptions setMaxLineCount(Number maxLineCount)
      Parameters:
      maxLineCount - Maximum number of sticky lines to show
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.