Class EditorFindOptions
java.lang.Object
org.primefaces.shaded.json.JSONObject
org.primefaces.extensions.model.monacoeditor.EditorFindOptions
- All Implemented Interfaces:
Serializable
public class EditorFindOptions
extends org.primefaces.shaded.json.JSONObject
implements Serializable
Configuration options for editor find widget
- See Also:
-
Field Summary
Fields inherited from class org.primefaces.shaded.json.JSONObject
NULL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionisLoop()
setAddExtraSpaceOnTop
(Boolean addExtraSpaceOnTop) setAutoFindInSelection
(String autoFindInSelection) setAutoFindInSelection
(EAutoFindInSelection autoFindInSelection) setCursorMoveOnType
(Boolean cursorMoveOnType) setSeedSearchStringFromSelection
(String seedSearchStringFromSelection) setSeedSearchStringFromSelection
(ESeedSearchStringFromSelection seedSearchStringFromSelection) 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
-
Constructor Details
-
EditorFindOptions
public EditorFindOptions()
-
-
Method Details
-
isAddExtraSpaceOnTop
-
setAddExtraSpaceOnTop
-
getAutoFindInSelection
- Returns:
- Controls if Find in Selection flag is turned on in the editor.
-
setAutoFindInSelection
- Parameters:
autoFindInSelection
- Controls if Find in Selection flag is turned on in the editor.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
setAutoFindInSelection
- Parameters:
autoFindInSelection
- Controls if Find in Selection flag is turned on in the editor.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isCursorMoveOnType
- Returns:
- Controls whether the cursor should move to find matches while typing.
-
setCursorMoveOnType
- Parameters:
cursorMoveOnType
- Controls whether the cursor should move to find matches while typing.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
isLoop
- Returns:
- Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.
-
setLoop
- Parameters:
loop
- Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
getSeedSearchStringFromSelection
- Returns:
- Controls if we seed search string in the Find Widget with editor selection.
-
setSeedSearchStringFromSelection
public EditorFindOptions setSeedSearchStringFromSelection(ESeedSearchStringFromSelection seedSearchStringFromSelection) - Parameters:
seedSearchStringFromSelection
- Controls if we seed search string in the Find Widget with editor selection.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-
setSeedSearchStringFromSelection
- Parameters:
seedSearchStringFromSelection
- Controls if we seed search string in the Find Widget with editor selection.- Returns:
- This same instance, useful for chaining multiple setter methods in one call.
-