public final class FindReplaceUtility extends Object
| Modifiers | Name | Description |
|---|---|---|
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 |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static void |
addTextListener(TextListener tl) |
|
public static void |
dispose() |
|
public void |
focusGained(FocusEvent fe) |
|
public static String |
getLastAction()
|
|
public static int |
getReplacementCount()
|
|
public static String |
getSearchText()
|
|
public void |
keyTyped(KeyEvent ke) |
|
public static void |
registerTextComponent(JTextComponent textComponent)
|
|
public static void |
removeTextListener(TextListener tl) |
|
public static void |
showDialog() |
|
public static void |
showDialog(boolean isReplace)
|
|
public static void |
unregisterTextComponent(JTextComponent textComponent)
|
textComponent - the text component to listen to
isReplace - show a replace dialog rather than a find dialog if true
textComponent - the text component to stop listening to