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

Class marimba.channel.ApplicationPlayerFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----marimba.gui.PlayerFrame
                                           |
                                           +----marimba.channel.ApplicationPlayerFrame

public class ApplicationPlayerFrame
extends PlayerFrame
implements Application
A presentation player for channels. To view a presentation in a channel, specify the channel properties as follows:
	main=marimba.channel.ApplicationPlayerFrame
	presentation=foobar.gui
Version:
1.6, 09/28/96
Author:
Arthur van Hoff, Maurice Balick

Variable Index

 o context
The context of this application.

Constructor Index

 o ApplicationPlayerFrame()
Create a new ApplicationPlayerFrame.

Method Index

 o getContext()
Get the ApplicationContext used by this Application.
 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.
 o stop()
Destroy the Channel.

Variables

 o context
  protected ApplicationContext context
The context of this application.

Constructors

 o ApplicationPlayerFrame
  public ApplicationPlayerFrame()
Create a new ApplicationPlayerFrame.

Methods

 o setContext
  public void setContext(ApplicationContext context)
This methods is called by the system to initialize the Application. It will try to find and load the 'presentation' specified in the channel properties.
 o getContext
  public ApplicationContext getContext()
Get the ApplicationContext used by this Application.
 o start
  public void start()
Initialize the Channel.
 o stop
  public void stop()
Destroy the Channel.
 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 install().
 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 PlayerFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index