Class IFText

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

public class IFText
extends IFComponent
A graphical component which displays one or several text entries. It can handle several instances of its data

Author:
Patrice Bensoussan, Thierry Bensoussan

Constructor Index

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

Method Index

 o apply(String)
generate the config file corresponding to the currently used instance
 o init()
in the object in 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 from the component
 o save(PrintWriter)
save the currently used instance
 o setGenerate(String, String)
sets the string(s) to generate
 o storeData()
store the currently used instance in the component
 o useData(String)
use a given instance of data

Constructors

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

Methods

 o setGenerate
 public void setGenerate(String head,
                         String tail)
sets 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 storeData
 public void storeData()
store the currently used instance in the component

Overrides:
storeData in class IFComponent
 o removeData
 public void removeData(String key)
delete a given instance from the component

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

Overrides:
init in class IFComponent
 o apply
 public void apply(String dir)
generate the config file corresponding to 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