Class IFList

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

public class IFList
extends IFComponent
implements ActionListener
A graphical component which displays a list of elements It can handle several instances of its data

Author:
Patrice Bensoussan, Thierry Bensoussan

Constructor Index

 o IFList(String, String[], String[])
object constructor

Method Index

 o actionPerformed(ActionEvent)
[ ActionListener Interface ]
 o apply(String)
generate the configuration file for the current instance
 o init()
initialize the component with its defaults state
 o load(BufferedReader)
load an instance in this object
 o newData(String)
create a new instance of data
 o removeData(String)
remove a given instance of data
 o save(PrintWriter)
save the current instance
 o setGenerate(String, String)
set the string(s) to generate
 o useData(String)
use a given instance of data

Constructors

 o IFList
 public IFList(String title,
               String label[],
               String args[])
object constructor

Methods

 o setGenerate
 public void setGenerate(String head,
                         String tail)
set the string(s) 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 removeData
 public void removeData(String key)
remove a given instance of data

Overrides:
removeData in class IFComponent
 o init
 public void init()
initialize the component with its defaults state

Overrides:
init in class IFComponent
 o actionPerformed
 public void actionPerformed(ActionEvent evnt)
[ ActionListener Interface ]

 o apply
 public void apply(String dir)
generate the configuration file for the current instance

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

Overrides:
save in class IFComponent
 o load
 public void load(BufferedReader in)
load an instance in this object

Overrides:
load in class IFComponent