Class Replace
- java.lang.Object
-
- net.sf.gridarta.textedit.textarea.actions.Replace
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.util.EventListener
public class Replace extends java.lang.Object implements java.awt.event.ActionListenerAction listener for "replace".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classReplace.ReplaceDialogThe replace dialog implementation.
-
Constructor Summary
Constructors Constructor Description Replace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)booleanreplace(@NotNull JEditTextArea textArea)Replace the next occurrence oftextToFindwithtextToReplace.
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
replace
public boolean replace(@NotNull @NotNull JEditTextArea textArea)Replace the next occurrence oftextToFindwithtextToReplace.- Parameters:
textArea- the text area to affect- Returns:
trueif a match was found, orfalseif no match was found
-
-