Class EditorDropIntoEditorOptions
- java.lang.Object
-
- org.primefaces.shaded.json.JSONObject
-
- org.primefaces.extensions.model.monacoeditor.EditorDropIntoEditorOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class EditorDropIntoEditorOptions extends org.primefaces.shaded.json.JSONObject implements java.io.SerializableConfiguration options for editor drop into behavior- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EditorDropIntoEditorOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetShowDropSelector()java.lang.BooleanisEnabled()EditorDropIntoEditorOptionssetEnabled(java.lang.Boolean enabled)EditorDropIntoEditorOptionssetShowDropSelector(java.lang.String showDropSelector)EditorDropIntoEditorOptionssetShowDropSelector(EShowDropSelectorMode showDropSelector)-
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
-
-
-
-
Method Detail
-
isEnabled
public java.lang.Boolean isEnabled()
- Returns:
- Enable the dropping into editor. Defaults to
true.
-
setEnabled
public EditorDropIntoEditorOptions setEnabled(java.lang.Boolean enabled)
- Parameters:
enabled- Enable the dropping into editor. Defaults totrue.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
getShowDropSelector
public java.lang.String getShowDropSelector()
- Returns:
- Controls if a widget is shown after a drop. Defaults to
afterDrop.
-
setShowDropSelector
public EditorDropIntoEditorOptions setShowDropSelector(EShowDropSelectorMode showDropSelector)
- Parameters:
showDropSelector- Controls if a widget is shown after a drop. Defaults toafterDrop.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
setShowDropSelector
public EditorDropIntoEditorOptions setShowDropSelector(java.lang.String showDropSelector)
- Parameters:
showDropSelector- Controls if a widget is shown after a drop. Defaults toafterDrop.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
-