All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.dialog.ReplaceDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tea.awt.dialog.BoxDialog
|
+----tea.awt.dialog.SearchDialog
|
+----tea.awt.dialog.ReplaceDialog
- public class ReplaceDialog
- extends SearchDialog
This Dialog is used to retrieve the String to be found in a text and
the corresponding String to be substituted.
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
-
ReplaceDialog(Frame, String, String, String)
- The most significative parameters in this constructor are the defStr
and the defSubStr: the first is the default String that appears in
the Find String field, while the last one is the default String
that appears in the Replace String field
-
changeSpokenLanguage(String)
- Implements a method of the LanguageSpeaker interface and
listens to the changes of the spoken language.
-
getReplaceString()
- Returns the user's String to be replaced.
ReplaceDialog
public ReplaceDialog(Frame parent,
String title,
String defStr,
String defSubStr)
- The most significative parameters in this constructor are the defStr
and the defSubStr: the first is the default String that appears in
the Find String field, while the last one is the default String
that appears in the Replace String field
- Parameters:
- parent - the Frame parent.
- title - the Dialog title.
- defStr - the default Find String.
- defSubStr - the default Replace String.
getReplaceString
public String getReplaceString()
- Returns the user's String to be replaced.
- Returns:
- the Replace String.
changeSpokenLanguage
public boolean changeSpokenLanguage(String l)
- Implements a method of the LanguageSpeaker interface and
listens to the changes of the spoken language.
- Parameters:
- l - the spoken language.
- Returns:
- if the language is supported or not.
- Overrides:
- changeSpokenLanguage in class SearchDialog
All Packages Class Hierarchy This Package Previous Next Index