All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.dialog.FontDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tea.awt.dialog.BoxDialog
|
+----tea.awt.dialog.FontDialog
- public class FontDialog
- extends BoxDialog
This Dialog is used to retrieve a Font to be changed.
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
-
FontDialog(Frame, String, Font)
- The most significative parameter in this constructor is the
defaultFont: the default Font proposed to the user.
-
changeSpokenLanguage(String)
- Implements a method of the LanguageSpeaker interface and
listens to the changes of the spoken language.
-
getSelectedFont()
- Returns the user's selected Font.
FontDialog
public FontDialog(Frame parent,
String title,
Font defaultFont)
- The most significative parameter in this constructor is the
defaultFont: the default Font proposed to the user.
- Parameters:
- parent - the Frame parent.
- title - the Dialog title.
- defaultFont - the default Font.
getSelectedFont
public Font getSelectedFont()
- Returns the user's selected Font.
- Returns:
- the selected Font.
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