All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.swisslife.ibgm.mc2.OpenDialog

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

public class OpenDialog
extends ChooseDialog
Dialog for opening files. Extends ChooseDialog class. It reads the directory contents form cgi DirectoryReader.


Constructor Index

 o OpenDialog(String, String, String, String, String, String, String, String)
Constructor with some arguments.

Method Index

 o getDevice()
 o getOpen()
Opens a directory and shows its content or sends the message to open a file.
 o getURL()
 o listSelected(String)

Constructors

 o OpenDialog
 public OpenDialog(String address,
                   String base,
                   String title,
                   String button_1,
                   String button_2,
                   String label_1,
                   String label_2,
                   String explanation)
Constructor with some arguments.

Parameters:
address - String with address of cgi
base - String with address of the cfg base
title - String with title of the dialog
parent - MyMessage: the parent class
button_1 - String: Name of button1
button_2 - String: Name of button2
label_1 - String: Name of label1
lablel_2 - String: Name of label2
explanation - String: name of explanation label

Methods

 o listSelected
 public void listSelected(String s)
Overrides:
listSelected in class ChooseDialog
 o getOpen
 public boolean getOpen()
Opens a directory and shows its content or sends the message to open a file.

Parameters:
s - String with item clicked on
Overrides:
getOpen in class ChooseDialog
 o getURL
 public String getURL()
Overrides:
getURL in class ChooseDialog
 o getDevice
 public String getDevice()
Overrides:
getDevice in class ChooseDialog

All Packages  Class Hierarchy  This Package  Previous  Next  Index