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
-
context
- The context of this application.
-
ApplicationFrame()
-
-
getContext()
- Get the ApplicationContext used by this Channel.
-
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, show the base frame.
-
stop()
- Destroy the Channel, hide and dispose the base frame.
context
protected ApplicationContext context
- The context of this application.
ApplicationFrame
public ApplicationFrame()
setContext
public void setContext(ApplicationContext context)
- This methods is called by the system to initialize the Application.
getContext
public ApplicationContext getContext()
- Get the ApplicationContext used by this Channel.
start
public void start()
- Initialize the Channel, show the base frame.
stop
public void stop()
- Destroy the Channel, hide and dispose the base frame.
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 installChannel().
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