Class EditorHoverOptions

java.lang.Object
org.primefaces.json.JSONObject
com.github.blutorange.primefaces.config.monacoeditor.EditorHoverOptions
All Implemented Interfaces:
Serializable

public class EditorHoverOptions
extends org.primefaces.json.JSONObject
implements Serializable
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.primefaces.json.JSONObject

    NULL
  • Constructor Summary

    Constructors 
    Constructor Description
    EditorHoverOptions()  
  • Method Summary

    Modifier and Type Method Description
    Number getDelay()  
    Boolean isEnabled()  
    Boolean isSticky()  
    EditorHoverOptions setDelay​(Number delay)  
    EditorHoverOptions setEnabled​(Boolean enabled)  
    EditorHoverOptions setSticky​(Boolean sticky)  

    Methods inherited from class org.primefaces.json.JSONObject

    accumulate, append, doubleToString, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, write

    Methods inherited from class java.lang.Object

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

  • Method Details

    • 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.