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
-
context
- The context of this application.
-
ApplicationPlayerFrame()
- Create a new ApplicationPlayerFrame.
-
getContext()
- Get the ApplicationContext used by this Application.
-
handleEvent(Event)
- Event handler for Window Management events: Asks for the
channel to be stopped (and soon destroyed) when the presentation
is closed.
-
notifyAvailable(String)
- Updated data is available.
-
notifyInstall(String)
- Data has been installed.
-
setContext(ApplicationContext)
- This methods is called by the system to initialize the Application.
-
start()
- Initialize the Channel.
-
stop()
- Destroy the Channel.
context
protected ApplicationContext context
- The context of this application.
ApplicationPlayerFrame
public ApplicationPlayerFrame()
- Create a new ApplicationPlayerFrame.
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.
getContext
public ApplicationContext getContext()
- Get the ApplicationContext used by this Application.
start
public void start()
- Initialize the Channel.
stop
public void stop()
- Destroy the Channel.
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).
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().
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