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:
  • Constructor Details

    • EditorFindOptions

      public EditorFindOptions()
  • Method Details

    • isAddExtraSpaceOnTop

      public Boolean isAddExtraSpaceOnTop()
    • setAddExtraSpaceOnTop

      public EditorFindOptions setAddExtraSpaceOnTop(Boolean addExtraSpaceOnTop)
    • getAutoFindInSelection

      public 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(String 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.
    • isCursorMoveOnType

      public Boolean isCursorMoveOnType()
      Returns:
      Controls whether the cursor should move to find matches while typing.
    • setCursorMoveOnType

      public EditorFindOptions setCursorMoveOnType(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 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(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.
    • getSeedSearchStringFromSelection

      public String 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

      public EditorFindOptions setSeedSearchStringFromSelection(String 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.