Class EditorHoverOptions
- java.lang.Object
-
- org.primefaces.shaded.json.JSONObject
-
- org.primefaces.extensions.model.monacoeditor.EditorHoverOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class EditorHoverOptions extends org.primefaces.shaded.json.JSONObject implements java.io.SerializableConfiguration options for editor hover- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EditorHoverOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.NumbergetDelay()java.lang.BooleanisAbove()java.lang.BooleanisEnabled()java.lang.BooleanisSticky()EditorHoverOptionssetAbove(java.lang.Boolean above)EditorHoverOptionssetDelay(java.lang.Number delay)EditorHoverOptionssetEnabled(java.lang.Boolean enabled)EditorHoverOptionssetSticky(java.lang.Boolean sticky)-
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
-
-
-
-
Method Detail
-
isAbove
public java.lang.Boolean isAbove()
- Returns:
- Should the hover be shown above the line if possible? Defaults to
false.
-
setAbove
public EditorHoverOptions setAbove(java.lang.Boolean above)
- Parameters:
above- Should the hover be shown above the line if possible? Defaults tofalse.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
getDelay
public java.lang.Number getDelay()
- Returns:
- Delay for showing the hover. Defaults to 300.
-
setDelay
public EditorHoverOptions setDelay(java.lang.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 java.lang.Boolean isEnabled()
- Returns:
- Enable the hover. Defaults to
true.
-
setEnabled
public EditorHoverOptions setEnabled(java.lang.Boolean enabled)
- Parameters:
enabled- Enable the hover. Defaults totrue.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isSticky
public java.lang.Boolean isSticky()
- Returns:
- Is the hover sticky such that it can be clicked and its contents selected? Defaults to
true.
-
setSticky
public EditorHoverOptions setSticky(java.lang.Boolean sticky)
- Parameters:
sticky- Is the hover sticky such that it can be clicked and its contents selected? Defaults totrue.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
-