All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.frame.SingleDocker
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----tea.awt.frame.SingleDocker
- public class SingleDocker
- extends Frame
- implements Docker
This is a Frame that implements the Docker interface
(for a Toolbar only).
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
- See Also:
- Toolbar
-
SingleDocker(String, String)
- This constructor defines the Statusbar default message.
-
addToolbar(Toolbar)
- Adds the Toolbar to this Docker (if a Toolbar is already present this
method does nothing).
-
getPlace(Toolbar)
- Gets the place in which the Toolbar is docked.
-
getStatusbar()
- Returns the Statusbar.
-
getToolbar()
- Returns the Toolbar docked.
-
removeToolbar(Toolbar)
- Removes the Toolbar from this Docker (the Toolbar is specified for
compatibility with multi-Toolbar Dockers).
-
setPlace(Toolbar, String)
- Places the Toolbar in the specified location.
-
setStatus(String)
- Sets the status of the Statusbar.
SingleDocker
public SingleDocker(String title,
String copyright)
- This constructor defines the Statusbar default message.
- Parameters:
- title - the Frame title.
- cr - the default message of the Statusbar.
getToolbar
public Toolbar getToolbar()
- Returns the Toolbar docked.
- Returns:
- the Toolbar.
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.
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.
getPlace
public String getPlace(Toolbar tb)
- Gets the place in which the Toolbar is docked.
- Parameters:
- tb - the Toolbar.
setPlace
public void setPlace(Toolbar tb,
String p)
- Places the Toolbar in the specified location.
- Parameters:
- tb - the Toolbar.
- p - the location.
setStatus
public void setStatus(String s)
- Sets the status of the Statusbar.
- Parameters:
- s - the status.
getStatusbar
public Statusbar getStatusbar()
- Returns the Statusbar.
- Returns:
- the Statusbar.
All Packages Class Hierarchy This Package Previous Next Index