public class Replace
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Class and Description |
---|---|
protected class |
Replace.ReplaceDialog
The replace dialog implementation.
|
Constructor and Description |
---|
Replace() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
boolean |
replace(@NotNull JEditTextArea textArea)
Replace the next occurrence of
textToFind with textToReplace . |
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public boolean replace(@NotNull @NotNull JEditTextArea textArea)
textToFind
with textToReplace
.textArea
- the text area to affecttrue
if a match was found, or false
if no match
was found