All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.awt.dialog.LogoDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----tea.awt.dialog.BoxDialog
                                           |
                                           +----tea.awt.dialog.LogoDialog

public class LogoDialog
extends BoxDialog

This Dialog shows an Image which could represent the Logo of the program. It can be used whenever a Dialog with an Image it's necessary. The Image is wrapped in an IconButton. Clicking on the IconButton cause the Dialog to close.

Version:
1.0 beta - 31 May 1997
Author:
Leonardo Boselli
See Also:
IconButton

Constructor Index

 o LogoDialog(Frame, String, Image, Dimension, String)
The significative parameters of this constructor are the Image used as a Logo and the text of the displayed message.

Constructors

 o LogoDialog
 public LogoDialog(Frame parent,
                   String title,
                   Image logo,
                   Dimension dim,
                   String message)
The significative parameters of this constructor are the Image used as a Logo and the text of the displayed message. The message can contain '\n' characters where the programmer wants the text jump to a new line.

Parameters:
parent - the Frame parent.
title - the Dialog title.
logo - the Logo Image.
dim - the Image dimensions.
message - the message String.

All Packages  Class Hierarchy  This Package  Previous  Next  Index