All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.awt.dialog.DockerDialog

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

public class DockerDialog
extends BoxDialog
implements Docker
Docker Dialog for Single Toolbar Component derived from BoxDialog. This is a Dialog that incorporates the Docker support for a Toolbar and inherits persistent properties support.

Version:
1.0 beta - 07 Jun 1997
Author:
Leonardo Boselli

Constructor Index

 o DockerDialog(Frame, String, String, String, boolean)
The most significative parameter in this constructor is the copyright: it defines the default message of the Statusbar.

Method Index

 o addToolbar(Toolbar)
Adds the Toolbar to this Docker (if a Toolbar is already present this method does nothing).
 o getPlace(Toolbar)
Gets the place in which the Toolbar is docked.
 o getStatusbar()
Returns the Statusbar.
 o getToolbar()
Returns the Toolbar docked.
 o removeToolbar(Toolbar)
Removes the Toolbar from this Docker (the Toolbar is specified for compatibility with multi-Toolbar Dockers).
 o setPlace(Toolbar, String)
Places the Toolbar in the specified location.
 o setStatus(String)
Sets the status of the Statusbar.
 o setVisible(boolean)
Overloads the setVisible() method to perform some common tasks of dialogs (e.g.

Constructors

 o DockerDialog
 public DockerDialog(Frame parent,
                     String title,
                     String name,
                     String copyright,
                     boolean modal)
The most significative parameter in this constructor is the copyright: it defines the default message of the Statusbar.

Parameters:
parent - the Frame parent.
title - the Dialog title.
name - the Dialog name.
copyright - the default message of the Statusbar.
modal - the modal Dialog flag.

Methods

 o setVisible
 public void setVisible(boolean v)
Overloads the setVisible() method to perform some common tasks of dialogs (e.g. persistent properties storing).

Parameters:
v - show or hide?
Overrides:
setVisible in class BoxDialog
 o getToolbar
 public Toolbar getToolbar()
Returns the Toolbar docked.

Returns:
the Toolbar.
 o removeToolbar
 public void removeToolbar(Toolbar tb)
Removes the Toolbar from this Docker (the Toolbar is specified for compatibility with multi-Toolbar Dockers).

Parameters:
tb - the Toolbar to be removed.
 o addToolbar
 public void addToolbar(Toolbar tb)
Adds the Toolbar to this Docker (if a Toolbar is already present this method does nothing).

Parameters:
tb - the Toolbar to be added.
 o getPlace
 public String getPlace(Toolbar tb)
Gets the place in which the Toolbar is docked.

Parameters:
tb - the Toolbar.
 o setPlace
 public void setPlace(Toolbar tb,
                      String p)
Places the Toolbar in the specified location.

Parameters:
tb - the Toolbar.
p - the location.
 o setStatus
 public void setStatus(String s)
Sets the status of the Statusbar.

Parameters:
s - the status.
 o getStatusbar
 public Statusbar getStatusbar()
Returns the Statusbar.

Returns:
the Statusbar.

All Packages  Class Hierarchy  This Package  Previous  Next  Index