All Packages Class Hierarchy This Package Previous Next Index
Class ch.swisslife.ibgm.mc2.ChooseDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----ch.swisslife.ibgm.mc2.ChooseDialog
- public class ChooseDialog
- extends Frame
Dialog for opening or saving files. It reads the directory contents from the cgi DirectoryReader.
-
AddressOfDirectoryReader
-
-
button1
-
-
button2
-
-
cfg_base
-
-
dataInput
-
-
directory_list
-
-
explanation
-
-
field
-
-
label1
-
-
label2
-
-
old
-
-
p
-
-
path
-
-
ChooseDialog(String)
- Constructor which calls the constructor of super class.
-
ChooseDialog(String, String, String)
- Constructor with some arguments.
-
ChooseDialog(String, String, String, String, String, String, String, String)
- Constructor with more arguments.
-
getDevice()
-
-
GetDirectoryContents(String)
-
-
getOpen()
-
-
getURL()
-
-
kill()
-
-
listSelected(String)
-
-
removeLastChar(String)
- Cuts off the last char of a String
-
removeLastWord(String, String)
- cuts of the last word (with a specified delimiter) of a String
-
setDirectoryFocus(boolean)
-
-
ShowContentsOfDirectory()
- puts the content of a directory into the list.
AddressOfDirectoryReader
protected String AddressOfDirectoryReader
directory_list
protected List directory_list
field
protected TextField field
button1
protected Button button1
button2
protected Button button2
p
protected Panel p
cfg_base
protected String cfg_base
old
protected String old
explanation
protected Label explanation
label1
protected Label label1
label2
protected Label label2
path
protected Label path
dataInput
protected BufferedReader dataInput
ChooseDialog
public ChooseDialog(String address,
String base,
String title)
- Constructor with some arguments.
- Parameters:
- address - String with address of cgi
- base - String with address of the cfg base
- title - String with title name
ChooseDialog
public ChooseDialog(String address,
String base,
String title,
String button_1,
String button_2,
String label_1,
String label_2,
String explanation)
- Constructor with more 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
ChooseDialog
public ChooseDialog(String title)
- Constructor which calls the constructor of super class.
- Parameters:
- title - String with title of the dialog.
kill
public void kill()
setDirectoryFocus
public void setDirectoryFocus(boolean b)
listSelected
public void listSelected(String s)
getOpen
public boolean getOpen()
getURL
public String getURL()
getDevice
public String getDevice()
removeLastChar
public String removeLastChar(String s)
- Cuts off the last char of a String
- Parameters:
- s - String to be cut off
- Returns:
- String without last char of s
removeLastWord
public String removeLastWord(String s,
String delimiter)
- cuts of the last word (with a specified delimiter) of a String
- Parameters:
- s - String to be cut
- delimiter - String to serve as a delimiter
- Returns:
- String without the last word
ShowContentsOfDirectory
protected void ShowContentsOfDirectory()
- puts the content of a directory into the list.
GetDirectoryContents
protected void GetDirectoryContents(String Directory)
All Packages Class Hierarchy This Package Previous Next Index