|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.ui.text.FindReplaceUtility
public final class FindReplaceUtility
Field Summary | |
---|---|
static String |
CLOSE_ACTION_COMMAND
|
static Action |
FIND_ACTION
|
static String |
FIND_ACTION_COMMAND
|
static String |
REPLACE_ACTION_COMMAND
|
static String |
REPLACE_ALL_ACTION_COMMAND
|
Method Summary | |
---|---|
static void
|
addTextListener(TextListener tl)
|
static void
|
dispose()
|
static String
|
getLastAction()
@return the last action |
static int
|
getReplacementCount()
@return the replacement count |
static String
|
getSearchText()
@return the search text |
static void
|
registerTextComponent(JTextComponent textComponent)
@param textComponent the text component to listen to |
static void
|
removeTextListener(TextListener tl)
|
static void
|
showDialog()
|
static void
|
showDialog(boolean isReplace)
@param isReplace show a replace dialog rather than a find dialog if true |
static void
|
unregisterTextComponent(JTextComponent textComponent)
@param textComponent the text component to stop listening to |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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 addTextListener(TextListener tl)
public static void dispose()
public static String getLastAction()
public static int getReplacementCount()
public static String getSearchText()
public static void registerTextComponent(JTextComponent textComponent)
textComponent
- the text component to listen to
public static void removeTextListener(TextListener tl)
public static void showDialog()
public static void showDialog(boolean isReplace)
isReplace
- show a replace dialog rather than a find dialog if true
public static void unregisterTextComponent(JTextComponent textComponent)
textComponent
- the text component to stop listening to
Copyright © 2003-2013 The Codehaus. All rights reserved.