Class IFComposed
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----IFComponent
|
+----IFComposed
- public class IFComposed
- extends IFComponent
- implements ActionListener
A graphical component which is a container of IFComponent
(used for Location, Directory and VirtualHost options)
It can handle several instances of its data
- Author:
- Patrice Bensoussan, Thierry Bensoussan
-
IFComposed(String, String[], String[])
- object constructor
-
actionPerformed(ActionEvent)
- [ ActionListener Interface ]
-
addComponent(IFComponent)
- add a new IFComponent in this object
-
apply(String)
- generate the config file for the currently used instance
-
init()
- initialize the component with its defaults state
-
load(BufferedReader)
- load a new instance of data
-
newData(String)
- create a new instance of data in this object
-
removeData(String)
- delete a given instance of data
-
removeFile(String)
- remove the files to be generated by this component
-
save(PrintWriter)
- save the current data instance
-
setGenerate(String, String)
- set the strings to generate
-
useData(String)
- use a given instance of data
IFComposed
public IFComposed(String title,
String label[],
String args[])
- object constructor
setGenerate
public void setGenerate(String head,
String tail)
- set the strings to generate
- Overrides:
- setGenerate in class IFComponent
newData
public void newData(String key)
- create a new instance of data in this object
- 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)
- delete 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 config file for the currently used instance
- Overrides:
- apply in class IFComponent
save
public void save(PrintWriter out)
- save the current data instance
- Overrides:
- save in class IFComponent
load
public void load(BufferedReader in)
- load a new instance of data
- Overrides:
- load in class IFComponent
removeFile
public void removeFile(String dir)
- remove the files to be generated by this component
- Overrides:
- removeFile in class IFComponent
addComponent
public void addComponent(IFComponent c)
- add a new IFComponent in this object