Class EditorLightbulbOptions
java.lang.Object
org.primefaces.json.JSONObject
com.github.blutorange.primefaces.config.monacoeditor.EditorLightbulbOptions
- All Implemented Interfaces:
Serializable
public class EditorLightbulbOptions extends org.primefaces.json.JSONObject implements Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EditorLightbulbOptions()
-
Method Summary
Modifier and Type Method Description Boolean
isEnabled()
EditorLightbulbOptions
setEnabled(Boolean enabled)
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
-
Constructor Details
-
EditorLightbulbOptions
public EditorLightbulbOptions()
-
-
Method Details
-
isEnabled
- Returns:
- Enable the lightbulb code action. Defaults to
true
.
-
setEnabled
- Parameters:
enabled
- Enable the lightbulb code action. Defaults totrue
.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-