All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.dialog.SearchDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tea.awt.dialog.BoxDialog
|
+----tea.awt.dialog.SearchDialog
- public abstract class SearchDialog
- extends BoxDialog
This Dialog is an abstract base Dialog used by FindDialog and ReplaceDialog.
It contains the common elements of the two Dialogs.
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
- See Also:
- FindDialog, ReplaceDialog
-
border
-
-
cancelBtn
-
-
okBtn
-
-
textField
-
-
textLbl
-
-
SearchDialog(Frame, String, String, String)
- The most significative parameter in this constructor is the defStr:
the default String that appears in the Find String field.
-
changeSpokenLanguage(String)
- Implements a method of the LanguageSpeaker interface and
listens to the changes of the spoken language.
-
getFindString()
- Returns the user's String to be found.
textField
protected TextField textField
border
protected int border
textLbl
protected Label textLbl
okBtn
protected Button okBtn
cancelBtn
protected Button cancelBtn
SearchDialog
protected SearchDialog(Frame parent,
String title,
String name,
String defStr)
- The most significative parameter in this constructor is the defStr:
the default String that appears in the Find String field.
- Parameters:
- parent - the Frame parent.
- title - the Dialog title.
- name - the name of the Dialog (used by the persistent properties support).
- defStr - the default String.
getFindString
public String getFindString()
- Returns the user's String to be found.
- Returns:
- the Find 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 BoxDialog
All Packages Class Hierarchy This Package Previous Next Index