All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface tea.awt.bar.Docker

public interface interface Docker

This Docker interface defines the fondamental methods for a component that holds a Toolbar. It must be implemented for a correct management of the automatic placement of one or more Toolbars. It also gives a method to deliver messages to a Statusbar.

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

Method Index

 o addToolbar(Toolbar)
Adds a Toolbar to this Docker.
 o getPlace(Toolbar)
Returns the place in which the Toolbar is docked.
 o getStatusbar()
Returns the Statusbar of the Docker (null if the Docker hasn't a Statusbar).
 o removeToolbar(Toolbar)
Removes a Toolbar from this Docker.
 o setPlace(Toolbar, String)
Forces the Docker to place the Toolbar in a new docking location.
 o setStatus(String)
Sends a message to a Statusbar.

Methods

 o addToolbar
 public abstract void addToolbar(Toolbar tb)
Adds a Toolbar to this Docker.

 o removeToolbar
 public abstract void removeToolbar(Toolbar tb)
Removes a Toolbar from this Docker.

Parameters:
tb - the Toolbar.
 o getPlace
 public abstract String getPlace(Toolbar tb)
Returns the place in which the Toolbar is docked.

Parameters:
tb - the Toolbar.
 o setPlace
 public abstract void setPlace(Toolbar tb,
                               String place)
Forces the Docker to place the Toolbar in a new docking location.

Parameters:
tb - the Toolbar.
place - the name of the location.
 o setStatus
 public abstract void setStatus(String s)
Sends a message to a Statusbar. A null value conventionally resets the Statusbar.

Parameters:
s - the message.
 o getStatusbar
 public abstract Statusbar getStatusbar()
Returns the Statusbar of the Docker (null if the Docker hasn't a Statusbar).

Returns:
the Statusbar.

All Packages  Class Hierarchy  This Package  Previous  Next  Index