All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.awt.dialog.preview.MainToolbar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----tea.awt.bar.Toolbar
                                   |
                                   +----tea.awt.dialog.preview.MainToolbar

public class MainToolbar
extends Toolbar

This is a class used to build an implementation of Toolbar explicitely written for the PrintPreview Frame. It adds all the necessary icons for the actionCommands raised by the PrintPreview. It also defines the support for International Languages (directly supported English and Italian).

Version:
1.0 beta - 07 Jun 1997
Author:
Leonardo Boselli
See Also:
PrintPreview

Constructor Index

 o MainToolbar(ActionListener)
This constructor associates an ActionListener, defines the descriptive text and actionCommands of the icons and a LanguageLearner to extend the International Languages support.

Method Index

 o changeSpokenLanguage(String)
Implements the LanguageSpeaker interface and listens to the changes of the spoken language.

Constructors

 o MainToolbar
 public MainToolbar(ActionListener al)
This constructor associates an ActionListener, defines the descriptive text and actionCommands of the icons and a LanguageLearner to extend the International Languages support.

Parameters:
al - the ActionListener.

Methods

 o changeSpokenLanguage
 public boolean changeSpokenLanguage(String l)
Implements 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 Toolbar

All Packages  Class Hierarchy  This Package  Previous  Next  Index