Class IFPopList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----IFComponent
                                           |
                                           +----IFPopList

public class IFPopList
extends IFComponent
A graphical component which displays a popup list of predefined values It can handle several instances of its data

Author:
Patrice Bensoussan, Thierry Bensoussan

Constructor Index

 o IFPopList(String, String, String, String[])
Object constructor

Method Index

 o apply(String)
generate the config file for the currently used instance
 o init()
init the object with its default state
 o load(BufferedReader)
load a new instance
 o newData(String)
create a new instance of data
 o removeData(String)
delete a given instance of data
 o save(PrintWriter)
save the currently used instance
 o setGenerate(String, String)
set the strings to generate
 o storeData()
store the currently used data in the object
 o useData(String)
use a given instance of data

Constructors

 o IFPopList
 public IFPopList(String title,
                  String label,
                  String arg,
                  String values[])
Object constructor

Methods

 o setGenerate
 public void setGenerate(String head,
                         String tail)
set the strings to generate

Overrides:
setGenerate in class IFComponent
 o newData
 public void newData(String key)
create a new instance of data

Overrides:
newData in class IFComponent
 o useData
 public void useData(String key)
use a given instance of data

Overrides:
useData in class IFComponent
 o storeData
 public void storeData()
store the currently used data in the object

Overrides:
storeData in class IFComponent
 o removeData
 public void removeData(String key)
delete a given instance of data

Overrides:
removeData in class IFComponent
 o init
 public void init()
init the object with its default state

Overrides:
init in class IFComponent
 o apply
 public void apply(String dir)
generate the config file for the currently used instance

Overrides:
apply in class IFComponent
 o save
 public void save(PrintWriter out)
save the currently used instance

Overrides:
save in class IFComponent
 o load
 public void load(BufferedReader in)
load a new instance

Overrides:
load in class IFComponent