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
-
IFList(String, String[], String[])
- object constructor
-
actionPerformed(ActionEvent)
- [ ActionListener Interface ]
-
apply(String)
- generate the configuration file for the current instance
-
init()
- initialize the component with its defaults state
-
load(BufferedReader)
- load an instance in this object
-
newData(String)
- create a new instance of data
-
removeData(String)
- remove a given instance of data
-
save(PrintWriter)
- save the current instance
-
setGenerate(String, String)
- set the string(s) to generate
-
useData(String)
- use a given instance of data
IFList
public IFList(String title,
String label[],
String args[])
- object constructor
setGenerate
public void setGenerate(String head,
String tail)
- set the string(s) to generate
- Overrides:
- setGenerate in class IFComponent
newData
public void newData(String key)
- create a new instance of data
- Overrides:
- newData in class IFComponent
useData
public void useData(String key)
- use a given instance of data
- Overrides:
- useData in class IFComponent
removeData
public void removeData(String key)
- remove a given instance of data
- Overrides:
- removeData in class IFComponent
init
public void init()
- initialize the component with its defaults state
- Overrides:
- init in class IFComponent
actionPerformed
public void actionPerformed(ActionEvent evnt)
- [ ActionListener Interface ]
apply
public void apply(String dir)
- generate the configuration file for the current instance
- Overrides:
- apply in class IFComponent
save
public void save(PrintWriter out)
- save the current instance
- Overrides:
- save in class IFComponent
load
public void load(BufferedReader in)
- load an instance in this object
- Overrides:
- load in class IFComponent