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
-
MainFrame(String, String)
- This constructor defines the Statusbar default message and the
name of the File in which the properties are stored.
-
getPropertiesManager()
- Returns the PropertiesManager of this Frame.
-
setVisible(boolean)
- Overloads the setVisible() method to perform some common tasks
of dialog (e.g.
-
shapeProperties()
- Saves the shape properties of the Frame relative to the size of the
screen (location and size).
-
toolbarProperties()
- Saves the properties of the Toolbar.
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.
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
getPropertiesManager
public PropertiesManager getPropertiesManager()
- Returns the PropertiesManager of this Frame.
- Returns:
- the PropertiesManager.
toolbarProperties
protected void toolbarProperties()
- Saves the properties of the Toolbar.
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