Class EditorFindOptions

  • All Implemented Interfaces:
    java.io.Serializable

    public class EditorFindOptions
    extends org.primefaces.shaded.json.JSONObject
    implements java.io.Serializable
    Configuration options for editor find widget
    See Also:
    Serialized Form
    • Constructor Detail

      • EditorFindOptions

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

        public java.lang.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​(java.lang.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.