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

Constructor Index

 o BordersDialog(Frame, String, double, double, double, double)
The most significative parameter in this constructor are the margin defaults.

Method Index

 o changeSpokenLanguage(String)
Implements a method of the LanguageSpeaker interface and listens to the changes of the spoken language.
 o getBottomBorder()
Returns the user's selected bottom margin.
 o getLeftBorder()
Returns the user's selected left margin.
 o getRightBorder()
Returns the user's selected right margin.
 o getTopBorder()
Returns the user's selected top margin.

Constructors

 o 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.

Methods

 o getTopBorder
 public double getTopBorder()
Returns the user's selected top margin.

Returns:
the top margin.
 o getLeftBorder
 public double getLeftBorder()
Returns the user's selected left margin.

Returns:
the left margin.
 o getRightBorder
 public double getRightBorder()
Returns the user's selected right margin.

Returns:
the right margin.
 o getBottomBorder
 public double getBottomBorder()
Returns the user's selected bottom margin.

Returns:
the bottom margin.
 o 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