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
-
addToolbar(Toolbar)
- Adds a Toolbar to this Docker.
-
getPlace(Toolbar)
- Returns the place in which the Toolbar is docked.
-
getStatusbar()
- Returns the Statusbar of the Docker (null if the Docker hasn't a Statusbar).
-
removeToolbar(Toolbar)
- Removes a Toolbar from this Docker.
-
setPlace(Toolbar, String)
- Forces the Docker to place the Toolbar in a new docking location.
-
setStatus(String)
- Sends a message to a Statusbar.
addToolbar
public abstract void addToolbar(Toolbar tb)
- Adds a Toolbar to this Docker.
removeToolbar
public abstract void removeToolbar(Toolbar tb)
- Removes a Toolbar from this Docker.
- Parameters:
- tb - the Toolbar.
getPlace
public abstract String getPlace(Toolbar tb)
- Returns the place in which the Toolbar is docked.
- Parameters:
- tb - the Toolbar.
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.
setStatus
public abstract void setStatus(String s)
- Sends a message to a Statusbar. A null value conventionally resets the Statusbar.
- Parameters:
- s - the message.
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