@Deprecated public final class FindReplaceUtility extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE_ACTION_COMMAND
Deprecated.
|
static Action |
FIND_ACTION
Deprecated.
|
static String |
FIND_ACTION_COMMAND
Deprecated.
|
static String |
REPLACE_ACTION_COMMAND
Deprecated.
|
static String |
REPLACE_ALL_ACTION_COMMAND
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addTextListener(TextListener tl)
Deprecated.
|
static void |
dispose()
Deprecated.
|
static String |
getLastAction()
Deprecated.
|
static int |
getReplacementCount()
Deprecated.
|
static String |
getSearchText()
Deprecated.
|
static void |
registerTextComponent(JTextComponent textComponent)
Deprecated.
|
static void |
removeTextListener(TextListener tl)
Deprecated.
|
static void |
showDialog()
Deprecated.
|
static void |
showDialog(boolean isReplace)
Deprecated.
|
static void |
unregisterTextComponent(JTextComponent textComponent)
Deprecated.
|
public static final String FIND_ACTION_COMMAND
public static final String REPLACE_ACTION_COMMAND
public static final String REPLACE_ALL_ACTION_COMMAND
public static final String CLOSE_ACTION_COMMAND
public static final Action FIND_ACTION
public static void addTextListener(TextListener tl)
public static String getLastAction()
public static int getReplacementCount()
public static String getSearchText()
public static void registerTextComponent(JTextComponent textComponent)
textComponent
- the text component to listen topublic 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 truepublic static void unregisterTextComponent(JTextComponent textComponent)
textComponent
- the text component to stop listening topublic static void dispose()