Package groovy.ui.text
Class FindReplaceUtility
java.lang.Object
groovy.ui.text.FindReplaceUtility
@Deprecated
public final class FindReplaceUtility
extends java.lang.Object
Deprecated.
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCLOSE_ACTION_COMMANDDeprecated.static javax.swing.ActionFIND_ACTIONDeprecated.static java.lang.StringFIND_ACTION_COMMANDDeprecated.static java.lang.StringREPLACE_ACTION_COMMANDDeprecated.static java.lang.StringREPLACE_ALL_ACTION_COMMANDDeprecated.
- 
Method SummaryModifier and Type Method Description static voidaddTextListener(java.awt.event.TextListener tl)Deprecated.static voiddispose()Deprecated.static java.lang.StringgetLastAction()Deprecated.static intgetReplacementCount()Deprecated.static java.lang.StringgetSearchText()Deprecated.static voidregisterTextComponent(javax.swing.text.JTextComponent textComponent)Deprecated.static voidremoveTextListener(java.awt.event.TextListener tl)Deprecated.static voidshowDialog()Deprecated.static voidshowDialog(boolean isReplace)Deprecated.static voidunregisterTextComponent(javax.swing.text.JTextComponent textComponent)Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
FIND_ACTION_COMMANDpublic static final java.lang.String FIND_ACTION_COMMANDDeprecated.- See Also:
- Constant Field Values
 
- 
REPLACE_ACTION_COMMANDpublic static final java.lang.String REPLACE_ACTION_COMMANDDeprecated.- See Also:
- Constant Field Values
 
- 
REPLACE_ALL_ACTION_COMMANDpublic static final java.lang.String REPLACE_ALL_ACTION_COMMANDDeprecated.- See Also:
- Constant Field Values
 
- 
CLOSE_ACTION_COMMANDpublic static final java.lang.String CLOSE_ACTION_COMMANDDeprecated.- See Also:
- Constant Field Values
 
- 
FIND_ACTIONpublic static final javax.swing.Action FIND_ACTIONDeprecated.
 
- 
- 
Method Details- 
addTextListenerpublic static void addTextListener(java.awt.event.TextListener tl)Deprecated.
- 
getLastActionpublic static java.lang.String getLastAction()Deprecated.- Returns:
- the last action
 
- 
getReplacementCountpublic static int getReplacementCount()Deprecated.- Returns:
- the replacement count
 
- 
getSearchTextpublic static java.lang.String getSearchText()Deprecated.- Returns:
- the search text
 
- 
registerTextComponentpublic static void registerTextComponent(javax.swing.text.JTextComponent textComponent)Deprecated.- Parameters:
- textComponent- the text component to listen to
 
- 
removeTextListenerpublic static void removeTextListener(java.awt.event.TextListener tl)Deprecated.
- 
showDialogpublic static void showDialog()Deprecated.
- 
showDialogpublic static void showDialog(boolean isReplace)Deprecated.- Parameters:
- isReplace- show a replace dialog rather than a find dialog if true
 
- 
unregisterTextComponentpublic static void unregisterTextComponent(javax.swing.text.JTextComponent textComponent)Deprecated.- Parameters:
- textComponent- the text component to stop listening to
 
- 
disposepublic static void dispose()Deprecated.
 
-