All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.swisslife.ibgm.mc2.MC2

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ch.swisslife.ibgm.mc2.MC2

public class MC2
extends Frame
User Interface and test routines for InputChannel Puts a frame on screen and perfoms calls to InputChannel and prints it back on the screen. Note: This class is experimantal!


Variable Index

 o check_port
 o copy_target
 o create_target
 o current
 o delete_target
 o edit_target
 o get_cfg
 o save_cfg

Constructor Index

 o MC2(String)
Constructor: only used for instatiating CheckPort
 o MC2(String, MC2Applet)
Constructor: sets up the window

Method Index

 o editIt()
Opens an editor window and puts the data in
 o main(String[])
Main: Only used for Testing.
 o putIntoList()
puts the targets of the Cfg file into the list.
 o saveCfg(Cfg)
"Saves" the changes in a Cfg structure.
 o saveToFile()
Instantiates an OutputChannel and starts the printing.

Variables

 o get_cfg
 protected Button get_cfg
 o save_cfg
 protected Button save_cfg
 o edit_target
 protected Button edit_target
 o create_target
 protected Button create_target
 o delete_target
 protected Button delete_target
 o check_port
 protected Button check_port
 o copy_target
 protected Button copy_target
 o current
 protected int current

Constructors

 o MC2
 public MC2(String title)
Constructor: only used for instatiating CheckPort

Parameters:
title - String with window title
m - MC2 object that called me
 o MC2
 public MC2(String title,
            MC2Applet applet)
Constructor: sets up the window

Parameters:
title - String with window title
applet - MC2Applet that called me

Methods

 o main
 public static void main(String args[])
Main: Only used for Testing. Instantiates itself. Note: This shouldn't be used in the final version

Parameters:
args - String[] argument vector
 o saveToFile
 public void saveToFile()
Instantiates an OutputChannel and starts the printing.

 o editIt
 public void editIt()
Opens an editor window and puts the data in

 o saveCfg
 public void saveCfg(Cfg new_file)
"Saves" the changes in a Cfg structure.

Parameters:
new_file - Cfg with new structure
 o putIntoList
 protected void putIntoList()
puts the targets of the Cfg file into the list.


All Packages  Class Hierarchy  This Package  Previous  Next  Index