Class EditorHoverOptions
java.lang.Object
org.primefaces.shaded.json.JSONObject
com.github.blutorange.primefaces.config.monacoeditor.EditorHoverOptions
- All Implemented Interfaces:
Serializable
public class EditorHoverOptions extends org.primefaces.shaded.json.JSONObject implements Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EditorHoverOptions() -
Method Summary
Modifier and Type Method Description NumbergetDelay()BooleanisEnabled()BooleanisSticky()EditorHoverOptionssetDelay(Number delay)EditorHoverOptionssetEnabled(Boolean enabled)EditorHoverOptionssetSticky(Boolean sticky)Methods inherited from class org.primefaces.shaded.json.JSONObject
accumulate, append, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, 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, 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
-
Constructor Details
-
EditorHoverOptions
public EditorHoverOptions()
-
-
Method Details
-
getDelay
- Returns:
- Delay for showing the hover. Defaults to 300.
-
setDelay
- Parameters:
delay- Delay for showing the hover. Defaults to 300.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isEnabled
- Returns:
- Enable the hover. Defaults to
true.
-
setEnabled
- Parameters:
enabled- Enable the hover. Defaults totrue.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isSticky
- Returns:
- Is the hover sticky such that it can be clicked and its contents selected? Defaults to
true.
-
setSticky
- 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.
-