Class EditorPasteAsOptions
java.lang.Object
org.primefaces.shaded.json.JSONObject
org.primefaces.extensions.model.monacoeditor.EditorPasteAsOptions
- All Implemented Interfaces:
- Serializable
public class EditorPasteAsOptions
extends org.primefaces.shaded.json.JSONObject
implements Serializable
Configuration options for editor pasting as into behavior
- See Also:
- 
Field SummaryFields inherited from class org.primefaces.shaded.json.JSONObjectNULL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionsetEnabled(Boolean enabled) setShowPasteSelector(String showPasteSelector) setShowPasteSelector(EShowPasteSelectorMode showPasteSelector) Methods inherited from class org.primefaces.shaded.json.JSONObjectaccumulate, 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
- 
Constructor Details- 
EditorPasteAsOptionspublic EditorPasteAsOptions()
 
- 
- 
Method Details- 
isEnabled- Returns:
- Enable paste as functionality in editors. Defaults to true.
 
- 
setEnabled- Parameters:
- enabled- Enable paste as functionality in editors. Defaults to- true.
- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
 
- 
getShowPasteSelector- Returns:
- Controls if a widget is shown after a paste. Defaults to afterPaste.
 
- 
setShowPasteSelector- Parameters:
- showPasteSelector- Controls if a widget is shown after a paste. Defaults to- afterPaste.
- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
 
- 
setShowPasteSelector- Parameters:
- showPasteSelector- Controls if a widget is shown after a paste. Defaults to- afterPaste.
- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
 
 
-