All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class demo.jcsp.PresentationManager

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----jcsp.awt.ActiveFrame
                                           |
                                           +----demo.jcsp.PresentationManager

public class PresentationManager
extends ActiveFrame

Process Diagram

External View

  _____________________
 |                     |
 | PresentationManager |
 |_____________________|
 

Internal View

  ___________________________________________________________
 |  ________________                                         |
 | |                |                                        |
 | | ActiveMenuItem |-->--+                                  |
 | |________________|     |                                  |
 |                        v                                  |
 |  ________________      |        ________________________  |
 | |                |     | event |                        | |
 | | ActiveMenuItem |-->--+--->---|  ____________________  | |
 | |________________|     |       | |                    | | |
 |                        |       | | ActivePresentation | | |
 |  ________________      ^       | |____________________| | |
 | |                |     |       |                        | |
 | | ActiveMenuItem |-->--+       |________________________| |
 | |________________|     |                                  |
 |                        |                                  |
 |  ____________________  ^                                  |
 | |                    | |                                  |
 | | WindowEventHandler |-+                                  |
 | |____________________|                                    |
 |                                                           |
 |                                       PresentationManager |
 |___________________________________________________________|
 

Description

The presentation manager provides a user interface to loading in a presentation preferences file and then showing the presentation using the ActivePresentation process.

Format of presentation file

 filePrefix=img
 fileExtension=.GIF
 numFrames=9
 numPadding=3
 

Author:
P.D.Austin

Constructor Index

 o PresentationManager()
Construct a new PresentationManager.

Method Index

 o loadPresentation()
 o main(String[])
The main entry point for the PresntationManager Application.
 o paint(Graphics)
 o showPresentation()
Show the presentation in a Window which is the size of the screen.

Constructors

 o PresentationManager
 public PresentationManager()
Construct a new PresentationManager.

Methods

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o loadPresentation
 protected void loadPresentation()
 o showPresentation
 protected void showPresentation()
Show the presentation in a Window which is the size of the screen. This method will block until the Window is destroyed and the stop the proceses used in the presentation.

 o main
 public static void main(String argv[])
The main entry point for the PresntationManager Application.


All Packages  Class Hierarchy  This Package  Previous  Next  Index