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
-
DockerDialog(Frame, String, String, String, boolean)
- The most significative parameter in this constructor is the
copyright: it defines the default message of the Statusbar.
-
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.
-
setVisible(boolean)
- Overloads the setVisible() method to perform some common tasks
of dialogs (e.g.
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.
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
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