All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.Frame

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.Container
                   |
                   +----com.bulletproof.gui.Panel
                           |
                           +----com.bulletproof.gui.Frame

public class Frame
extends Panel
A Frame is a top-level window with a title. The default layout for a frame is BorderLayout.


Constructor Index

 o Frame()
Constructs a new Frame that is initially invisible.
 o Frame(String)
Constructs a new, initially invisible Frame with the specified title.

Method Index

 o doLayout()
Does a layout on this Container.
 o getHandler()
 o getLocationOnScreen()
Returns the current location of this component in the screen's coordinate space.
 o getMenuBar()
 o getTitle()
Gets the title for this Dialog.
 o init()
Called after the application has been loaded.
 o paint(Graphics)
Paints the container.
 o processKeyEvent(KeyEvent)
Processes key events occurring on this component by dispatching them to any registered KeyListener objects.
 o proxyGetClipboard()
This is called by lightweight components to set the contents of the clipboard.
 o proxyGetFrame()
 o proxyGetPopup(Component)
This is called by lightweight components to get the handle to the popup component.
 o proxyGetPopup(Component, boolean)
This is called by lightweight components to get the handle to the popup component.
 o proxyRequestFocus(Component)
 o proxySetClipboard(String)
This is called by lightweight components to set the contents of the clipboard.
 o setProgressBar(String, int)
 o setTitle(String)
Sets the title for this Frame to the specified title.
 o show()
 o showMenuBar()
 o showMessage(String)

Constructors

 o Frame
 public Frame()
Constructs a new Frame that is initially invisible.

See Also:
setVisible
 o Frame
 public Frame(String title)
Constructs a new, initially invisible Frame with the specified title.

Parameters:
title - the title for the frame
See Also:
setVisible

Methods

 o init
 public void init()
Called after the application has been loaded. Can be overridden to perform database functions once the VM is ready.

 o setTitle
 public void setTitle(String title)
Sets the title for this Frame to the specified title.

Parameters:
title - the specified title of this Frame
See Also:
getTitle
 o getTitle
 public String getTitle()
Gets the title for this Dialog.

Returns:
the specified title of this Dialog
 o doLayout
 public void doLayout()
Does a layout on this Container.

Overrides:
doLayout in class Container
 o paint
 public void paint(Graphics g)
Paints the container.

Overrides:
paint in class Container
 o processKeyEvent
 public void processKeyEvent(KeyEvent ev)
Processes key events occurring on this component by dispatching them to any registered KeyListener objects.

Overrides:
processKeyEvent in class Component
 o proxyGetFrame
 public Frame proxyGetFrame()
Overrides:
proxyGetFrame in class Component
 o proxyGetPopup
 public PopupComponent proxyGetPopup(Component requestor)
This is called by lightweight components to get the handle to the popup component.

 o proxyGetPopup
 public PopupComponent proxyGetPopup(Component requestor,
                                     boolean getDialog)
This is called by lightweight components to get the handle to the popup component.

 o proxySetClipboard
 public void proxySetClipboard(String clip)
This is called by lightweight components to set the contents of the clipboard.

 o proxyGetClipboard
 public String proxyGetClipboard()
This is called by lightweight components to set the contents of the clipboard.

 o proxyRequestFocus
 public void proxyRequestFocus(Component fc)
 o getHandler
 public SpotletHandler getHandler()
 o getLocationOnScreen
 public Point getLocationOnScreen()
Returns the current location of this component in the screen's coordinate space.

Overrides:
getLocationOnScreen in class Component
 o show
 public void show()
 o showMessage
 public static void showMessage(String msg)
 o setProgressBar
 public void setProgressBar(String label,
                            int percentComplete)
 o showMenuBar
 public void showMenuBar()
 o getMenuBar
 public MenuBar getMenuBar()

All Packages  Class Hierarchy  This Package  Previous  Next  Index