All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.dialog.preview.BordersDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tea.awt.dialog.BoxDialog
|
+----tea.awt.dialog.preview.BordersDialog
- public class BordersDialog
- extends BoxDialog
This Dialog is used to retrieve the new printing borders.
- Version:
- 1.0 beta - 07 Jun 1997
- Author:
- Leonardo Boselli
-
BordersDialog(Frame, String, double, double, double, double)
- The most significative parameter in this constructor are the
margin defaults.
-
changeSpokenLanguage(String)
- Implements a method of the LanguageSpeaker interface and
listens to the changes of the spoken language.
-
getBottomBorder()
- Returns the user's selected bottom margin.
-
getLeftBorder()
- Returns the user's selected left margin.
-
getRightBorder()
- Returns the user's selected right margin.
-
getTopBorder()
- Returns the user's selected top margin.
BordersDialog
public BordersDialog(Frame parent,
String title,
double l,
double b,
double r,
double t)
- The most significative parameter in this constructor are the
margin defaults.
- Parameters:
- parent - the Frame parent.
- title - the Dialog title.
- l - the default left margin.
- b - the default bottom margin.
- r - the default right margin.
- t - the default top margin.
getTopBorder
public double getTopBorder()
- Returns the user's selected top margin.
- Returns:
- the top margin.
getLeftBorder
public double getLeftBorder()
- Returns the user's selected left margin.
- Returns:
- the left margin.
getRightBorder
public double getRightBorder()
- Returns the user's selected right margin.
- Returns:
- the right margin.
getBottomBorder
public double getBottomBorder()
- Returns the user's selected bottom margin.
- Returns:
- the bottom margin.
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