JavaScript is disabled on your browser.
Package: groovy.console.ui.text

[Java] Class FindReplaceUtility


  • public final class FindReplaceUtility
    extends Object 
    • Field Detail

      • public static final String CLOSE_ACTION_COMMAND

      • public static final Action FIND_ACTION

      • public static final String FIND_ACTION_COMMAND

      • public static final String REPLACE_ACTION_COMMAND

      • public static final String REPLACE_ALL_ACTION_COMMAND

    • Method Detail

      • public static void dispose()

      • public static String getLastAction()

        Returns:
        the last action

      • public static int getReplacementCount()

        Returns:
        the replacement count

      • public static String getSearchText()

        Returns:
        the search text

      • public static void registerTextComponent(JTextComponent textComponent)

        Parameters:
        textComponent - the text component to listen to

      • public static void showDialog()

      • public static void showDialog(boolean isReplace)

        Parameters:
        isReplace - show a replace dialog rather than a find dialog if true

      • public static void unregisterTextComponent(JTextComponent textComponent)

        Parameters:
        textComponent - the text component to stop listening to

Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /