All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.awt.frame.MultiDocker

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----tea.awt.frame.MultiDocker

public class MultiDocker
extends Frame
implements Docker

This is a Frame that implements the Docker interface (for one or more Toolbars). The development of this class is in progress.

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

Constructor Index

 o MultiDocker(String, String)
This constructor defines the Statusbar default message.

Method Index

 o add(Toolbar, String)
Overloads the add() method with arguments Toolbar and String providing a complex mechanism for Toolbars management
 o addToolbar(Toolbar)
Adds the Toolbar to this Docker.
 o getPlace(Toolbar)
Gets the place in which the Toolbar is docked.
 o getStatusbar()
Returns the Statusbar.
 o getToolbars()
Returns an Enumeration of the Toolbars docked.
 o removeToolbar(Toolbar)
Removes the Toolbar from this Docker.
 o setPlace(Toolbar, String)
Places the Toolbar in the specified location.
 o setStatus(String)
Sets the status of the Statusbar.

Constructors

 o MultiDocker
 public MultiDocker(String title,
                    String copyright)
This constructor defines the Statusbar default message.

Parameters:
title - the Frame title.
cr - the default message of the Statusbar.

Methods

 o getToolbars
 public Enumeration getToolbars()
Returns an Enumeration of the Toolbars docked.

Returns:
Enumeration of the Toolbars.
 o removeToolbar
 public void removeToolbar(Toolbar tb)
Removes the Toolbar from this Docker.

Parameters:
tb - the Toolbar to be removed.
 o addToolbar
 public void addToolbar(Toolbar tb)
Adds the Toolbar to this Docker.

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.
 o add
 public void add(Toolbar tb,
                 String loc)
Overloads the add() method with arguments Toolbar and String providing a complex mechanism for Toolbars management

Parameters:
tb - the Toolbar.
loc - the location.

All Packages  Class Hierarchy  This Package  Previous  Next  Index