Package groovy.ui.text
Class FindReplaceUtility
- java.lang.Object
-
- groovy.ui.text.FindReplaceUtility
-
@Deprecated public final class FindReplaceUtility extends Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLOSE_ACTION_COMMANDDeprecated.static ActionFIND_ACTIONDeprecated.static StringFIND_ACTION_COMMANDDeprecated.static StringREPLACE_ACTION_COMMANDDeprecated.static StringREPLACE_ALL_ACTION_COMMANDDeprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidaddTextListener(TextListener tl)Deprecated.static voiddispose()Deprecated.static StringgetLastAction()Deprecated.static intgetReplacementCount()Deprecated.static StringgetSearchText()Deprecated.static voidregisterTextComponent(JTextComponent textComponent)Deprecated.static voidremoveTextListener(TextListener tl)Deprecated.static voidshowDialog()Deprecated.static voidshowDialog(boolean isReplace)Deprecated.static voidunregisterTextComponent(JTextComponent textComponent)Deprecated.
-
-
-
Field Detail
-
FIND_ACTION_COMMAND
public static final String FIND_ACTION_COMMAND
Deprecated.- See Also:
- Constant Field Values
-
REPLACE_ACTION_COMMAND
public static final String REPLACE_ACTION_COMMAND
Deprecated.- See Also:
- Constant Field Values
-
REPLACE_ALL_ACTION_COMMAND
public static final String REPLACE_ALL_ACTION_COMMAND
Deprecated.- See Also:
- Constant Field Values
-
CLOSE_ACTION_COMMAND
public static final String CLOSE_ACTION_COMMAND
Deprecated.- See Also:
- Constant Field Values
-
FIND_ACTION
public static final Action FIND_ACTION
Deprecated.
-
-
Method Detail
-
addTextListener
public static void addTextListener(TextListener tl)
Deprecated.
-
getLastAction
public static String getLastAction()
Deprecated.- Returns:
- the last action
-
getReplacementCount
public static int getReplacementCount()
Deprecated.- Returns:
- the replacement count
-
getSearchText
public static String getSearchText()
Deprecated.- Returns:
- the search text
-
registerTextComponent
public static void registerTextComponent(JTextComponent textComponent)
Deprecated.- Parameters:
textComponent- the text component to listen to
-
removeTextListener
public static void removeTextListener(TextListener tl)
Deprecated.
-
showDialog
public static void showDialog()
Deprecated.
-
showDialog
public static void showDialog(boolean isReplace)
Deprecated.- Parameters:
isReplace- show a replace dialog rather than a find dialog if true
-
unregisterTextComponent
public static void unregisterTextComponent(JTextComponent textComponent)
Deprecated.- Parameters:
textComponent- the text component to stop listening to
-
dispose
public static void dispose()
Deprecated.
-
-