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

Constructor Index

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

Method Index

 o actionPerformed(ActionEvent)
[ ActionListener Interface ]
 o addComponent(IFComponent)
add a new IFComponent in this object
 o apply(String)
generate the config file for the currently used instance
 o init()
initialize the component with its defaults state
 o load(BufferedReader)
load a new instance of data
 o newData(String)
create a new instance of data in this object
 o removeData(String)
delete a given instance of data
 o removeFile(String)
remove the files to be generated by this component
 o save(PrintWriter)
save the current data instance
 o setGenerate(String, String)
set the strings to generate
 o useData(String)
use a given instance of data

Constructors

 o IFComposed
 public IFComposed(String title,
                   String label[],
                   String args[])
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 in this object

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)
delete 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 config file for the currently used instance

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

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

Overrides:
load in class IFComponent
 o removeFile
 public void removeFile(String dir)
remove the files to be generated by this component

Overrides:
removeFile in class IFComponent
 o addComponent
 public void addComponent(IFComponent c)
add a new IFComponent in this object