Class marimba.channel.ApplicationFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.channel.ApplicationFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----marimba.channel.ApplicationFrame

public class ApplicationFrame
extends Frame
implements Application
A helper class for creating channel applications. This class creates and shows, and destroys an AWT frame as the base frame of the application.
Version:
1.4, 09/28/96
Author:
Arthur van Hoff

Variable Index

 o context
The context of this application.

Constructor Index

 o ApplicationFrame()

Method Index

 o getContext()
Get the ApplicationContext used by this Channel.
 o handleEvent(Event)
Event handler for Window Management events: Asks for the channel to be stopped (and soon destroyed) when the presentation is closed.
 o notifyAvailable(String)
Updated data is available.
 o notifyInstall(String)
Data has been installed.
 o setContext(ApplicationContext)
This methods is called by the system to initialize the Application.
 o start()
Initialize the Channel, show the base frame.
 o stop()
Destroy the Channel, hide and dispose the base frame.

Variables

 o context
  protected ApplicationContext context
The context of this application.

Constructors

 o ApplicationFrame
  public ApplicationFrame()

Methods

 o setContext
  public void setContext(ApplicationContext context)
This methods is called by the system to initialize the Application.
 o getContext
  public ApplicationContext getContext()
Get the ApplicationContext used by this Channel.
 o start
  public void start()
Initialize the Channel, show the base frame.
 o stop
  public void stop()
Destroy the Channel, hide and dispose the base frame.
 o notifyAvailable
  public void notifyAvailable(String dir)
Updated data is available. By default, if property "update.action" is "restart", then the entire channel is restarted (with the new updated data).
 o notifyInstall
  public void notifyInstall(String dir)
Data has been installed. Called to notify the application that new data has been installed. This is only called if the application explicitly requests installation of new data using installChannel().
 o handleEvent
  public boolean handleEvent(Event evt)
Event handler for Window Management events: Asks for the channel to be stopped (and soon destroyed) when the presentation is closed.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index