net.simplace.ui.formengine.filler.FWAbstractFormComponentFiller

The Component Filler is overwritten by classes which achieve data from different sources, as an XLS sheet or a database, and generate a Map Object to be able to return dynamic options for a form component.


public abstract class FWAbstractFormComponentFiller {
// Public Constructors
public FWAbstractFormComponentFiller();

// Protected Instance Variables
protected Map iParameterMap;
protected FWObservable iObervable;

// Public Instance Methods
public void initialize(Object aContent, Map aParameterMap, FWObservable
aObservable, String aSystemID, Element aConfiguration);

public Vector getFormOptions(String aKey);


returns the generated FormOptions
public List getFieldList(String aKey);


returns the field list
public JFreeChart getChart(String aKey, ChartStyle aChartStyle);


returns the content
public Object getObject(String aKey, String aClassname);


returns the content
public String getTitle();

public void setTitle(String aTitle);


// Protected Instance Methods
protected abstract Vector generateFormOptions(String aKey);


returns a vector of form options
protected abstract JFreeChart generateChart(String aKey, ChartStyle
aChartStyle);


returns JFreeChart
protected abstract Object generateObject(String aKey);


returns object
protected abstract List generateFieldList(String aKey);


returns list of fields
protected Object getContent();


returns the content
protected String getStringParameter(String aKey);


returns the value of the parameter
protected Object getParameter(String aKey);


returns the value of the parameter
protected String replaceParamTokens(String aKey, String aDefault);


returns the value of the parameter
protected void setContent(Object aContent);

protected String getSystemID();

protected Element getConfiguration();

protected boolean hasConfiguration();



}



Extended by: net.simplace.filler.FWArraysFormComponentFiller, net.simplace.filler.FWASCIIFormComponentFiller, net.simplace.filler.FWClasspathFormComponentFiller, net.simplace.filler.FWDatabaseFormComponentFiller, net.simplace.filler.FWFilebasedFormComponentFiller, net.simplace.filler.FWFormComponentFillerHSSFwb, net.simplace.filler.FWMapFormComponentFiller, net.simplace.filler.FWObservableFormComponentFiller, net.simplace.filler.FWScenarioFormComponentFiller, net.simplace.filler.FWSimCacheListFormComponentFiller, net.simplace.filler.FWSimVariablesFormComponentFiller, net.simplace.filler.FWSystemFormComponentFiller



Passed to: net.simplace.ui.formengine.result.FWAbstractResultFormComponentPanel.initialize()



Returned by: net.simplace.ui.formengine.result.FWAbstractResultFormComponentPanel.getFiller(), net.simplace.ui.formengine.FWAbstractFormComponent.getFormFiller()