net.simplace.pipe.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);
- aContent the content to set
- aParameterMap to configure the Filler
- aObservable
- aSystemID
- aConfiguration
IMPORTANT: This has to be called after instantiation of the filler via class for name
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);
- aContent the content to set
protected String getSystemID();
protected Element getConfiguration();
protected boolean hasConfiguration();
}
Extended by: FWArraysFormComponentFiller, FWASCIIFormComponentFiller, FWClasspathFormComponentFiller, FWDatabaseFormComponentFiller, FWDatabaseFormTableComponentFiller, FWFilebasedFormComponentFiller, net.simplace.client.sim.filler.FWFormComponentFillerHSSFwb, net.simplace.client.sim.filler.FWMapFormComponentFiller, FWObservableFormComponentFiller, FWScenarioFormComponentFiller, net.simplace.client.sim.filler.FWSimCacheListFormComponentFiller, net.simplace.client.sim.filler.FWSimVariablesFormComponentFiller, FWSystemFormComponentFiller
Passed to: net.simplace.pipe.formcomponents.result.FWAbstractResultFormComponentPanel.initialize()
Returned by: net.simplace.pipe.formcomponents.result.FWAbstractResultFormComponentPanel.getFiller(), net.simplace.pipe.formcomponents.FWAbstractFormComponent.getFormFiller()