All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.awt.frame.MainFrame

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

public class MainFrame
extends SingleDocker

This is a Frame that extends the SingleDocker class (for a Toolbar only) and adds persistent properties supports.

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

Constructor Index

 o MainFrame(String, String)
This constructor defines the Statusbar default message and the name of the File in which the properties are stored.

Method Index

 o getPropertiesManager()
Returns the PropertiesManager of this Frame.
 o setVisible(boolean)
Overloads the setVisible() method to perform some common tasks of dialog (e.g.
 o shapeProperties()
Saves the shape properties of the Frame relative to the size of the screen (location and size).
 o toolbarProperties()
Saves the properties of the Toolbar.

Constructors

 o MainFrame
 public MainFrame(String title,
                  String cr)
This constructor defines the Statusbar default message and the name of the File in which the properties are stored.

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

Methods

 o setVisible
 public synchronized void setVisible(boolean v)
Overloads the setVisible() method to perform some common tasks of dialog (e.g. persistent properties storing).

Parameters:
v - show or hide?
Overrides:
setVisible in class Component
 o getPropertiesManager
 public PropertiesManager getPropertiesManager()
Returns the PropertiesManager of this Frame.

Returns:
the PropertiesManager.
 o toolbarProperties
 protected void toolbarProperties()
Saves the properties of the Toolbar.

 o shapeProperties
 public void shapeProperties()
Saves the shape properties of the Frame relative to the size of the screen (location and size).


All Packages  Class Hierarchy  This Package  Previous  Next  Index