Class EditorFindOptions
- java.lang.Object
-
- org.primefaces.shaded.json.JSONObject
-
- org.primefaces.extensions.model.monacoeditor.EditorFindOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class EditorFindOptions extends org.primefaces.shaded.json.JSONObject implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EditorFindOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAutoFindInSelection()java.lang.BooleanisAddExtraSpaceOnTop()java.lang.BooleanisCursorMoveOnType()java.lang.BooleanisLoop()java.lang.BooleanisSeedSearchStringFromSelection()EditorFindOptionssetAddExtraSpaceOnTop(java.lang.Boolean addExtraSpaceOnTop)EditorFindOptionssetAutoFindInSelection(java.lang.String autoFindInSelection)EditorFindOptionssetAutoFindInSelection(EAutoFindInSelection autoFindInSelection)EditorFindOptionssetCursorMoveOnType(java.lang.Boolean cursorMoveOnType)EditorFindOptionssetLoop(java.lang.Boolean loop)EditorFindOptionssetSeedSearchStringFromSelection(java.lang.Boolean seedSearchStringFromSelection)-
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
-
-
-
-
Method Detail
-
isAddExtraSpaceOnTop
public java.lang.Boolean isAddExtraSpaceOnTop()
-
setAddExtraSpaceOnTop
public EditorFindOptions setAddExtraSpaceOnTop(java.lang.Boolean addExtraSpaceOnTop)
-
getAutoFindInSelection
public java.lang.String getAutoFindInSelection()
- Returns:
- Controls if Find in Selection flag is turned on in the editor.
-
setAutoFindInSelection
public EditorFindOptions setAutoFindInSelection(EAutoFindInSelection autoFindInSelection)
- 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
public EditorFindOptions setAutoFindInSelection(java.lang.String autoFindInSelection)
-
isCursorMoveOnType
public java.lang.Boolean isCursorMoveOnType()
- Returns:
- Controls whether the cursor should move to find matches while typing.
-
setCursorMoveOnType
public EditorFindOptions setCursorMoveOnType(java.lang.Boolean cursorMoveOnType)
- 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
public java.lang.Boolean isLoop()
- Returns:
- Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.
-
setLoop
public EditorFindOptions setLoop(java.lang.Boolean loop)
- 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.
-
isSeedSearchStringFromSelection
public java.lang.Boolean isSeedSearchStringFromSelection()
- Returns:
- Controls if we seed search string in the Find Widget with editor selection.
-
setSeedSearchStringFromSelection
public EditorFindOptions setSeedSearchStringFromSelection(java.lang.Boolean 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.
-
-