Class EditorHoverOptions

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

public class EditorHoverOptions extends org.primefaces.shaded.json.JSONObject implements Serializable
Configuration options for editor hover
See Also:
  • Field Summary

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

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

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

    • EditorHoverOptions

      public EditorHoverOptions()
  • Method Details

    • isAbove

      public Boolean isAbove()
      Returns:
      Should the hover be shown above the line if possible? Defaults to false.
    • setAbove

      public EditorHoverOptions setAbove(Boolean above)
      Parameters:
      above - Should the hover be shown above the line if possible? Defaults to false.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • getDelay

      public Number getDelay()
      Returns:
      Delay for showing the hover. Defaults to 300.
    • setDelay

      public EditorHoverOptions setDelay(Number delay)
      Parameters:
      delay - Delay for showing the hover. Defaults to 300.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isEnabled

      public Boolean isEnabled()
      Returns:
      Enable the hover. Defaults to true.
    • setEnabled

      public EditorHoverOptions setEnabled(Boolean enabled)
      Parameters:
      enabled - Enable the hover. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isSticky

      public Boolean isSticky()
      Returns:
      Is the hover sticky such that it can be clicked and its contents selected? Defaults to true.
    • setSticky

      public EditorHoverOptions setSticky(Boolean sticky)
      Parameters:
      sticky - Is the hover sticky such that it can be clicked and its contents selected? Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.