Package groovy.console.ui.text
Class FindReplaceUtility
java.lang.Object
groovy.console.ui.text.FindReplaceUtility
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidstatic voiddispose()static Stringstatic intstatic Stringstatic voidregisterTextComponent(JTextComponent textComponent) static voidstatic voidstatic voidshowDialog(boolean isReplace) static voidunregisterTextComponent(JTextComponent textComponent) 
- 
Field Details- 
FIND_ACTION_COMMAND- See Also:
 
- 
REPLACE_ACTION_COMMAND- See Also:
 
- 
REPLACE_ALL_ACTION_COMMAND- See Also:
 
- 
CLOSE_ACTION_COMMAND- See Also:
 
- 
FIND_ACTION
 
- 
- 
Method Details- 
addTextListener
- 
getLastAction- Returns:
- the last action
 
- 
getReplacementCountpublic static int getReplacementCount()- Returns:
- the replacement count
 
- 
getSearchText- Returns:
- the search text
 
- 
registerTextComponent- Parameters:
- textComponent- the text component to listen to
 
- 
removeTextListener
- 
showDialogpublic static void showDialog()
- 
showDialogpublic static void showDialog(boolean isReplace) - Parameters:
- isReplace- show a replace dialog rather than a find dialog if true
 
- 
unregisterTextComponent- Parameters:
- textComponent- the text component to stop listening to
 
- 
disposepublic static void dispose()
 
-