Package net.simplace.pipe.filler
Class FWDatabaseFormComponentFiller
java.lang.Object
net.simplace.pipe.filler.FWAbstractFormComponentFiller
net.simplace.pipe.filler.FWDatabaseFormComponentFiller
This Component Filler reads data from database.
generates form options from a special sequel statement: default is
SELECT DESC_" + LocaleProvider.getInstance().getLocaleKey() + ",JUMP FROM INITIAL WHERE THEME = 'INITIAL'
generates chart for the given sequel statement
generates an object for a given sequel statement
generates a field list for a dynamic form from a given sequel statement
- Author:
- Andreas Enders
-
Field Summary
FieldsFields inherited from class net.simplace.pipe.filler.FWAbstractFormComponentFiller
iObervable, iParameterMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jfree.chart.JFreeChartgenerateChart(String aKey, ChartStyle aChartStyle) protected List<org.jdom2.Element>generateFieldList(String aKey) protected Vector<FWFormOption>generateFormOptions(String aKey) protected ObjectgenerateObject(String aKey) voidinitialize(Object aContent, Map<String, Object> aParameterMap, FWObservable aObservable, String aSystemID, org.jdom2.Element aConfiguration) Methods inherited from class net.simplace.pipe.filler.FWAbstractFormComponentFiller
getChart, getConfiguration, getContent, getFieldList, getFormOptions, getObject, getParameter, getStringParameter, getSystemID, getTitle, hasConfiguration, replaceParamTokens, setContent, setTitle
-
Field Details
-
iLocalizationKeyPrefix
-
-
Constructor Details
-
FWDatabaseFormComponentFiller
public FWDatabaseFormComponentFiller()
-
-
Method Details
-
initialize
public void initialize(Object aContent, Map<String, Object> aParameterMap, FWObservable aObservable, String aSystemID, org.jdom2.Element aConfiguration) - Overrides:
initializein classFWAbstractFormComponentFiller- Parameters:
aContent- the content to setaParameterMap- to configure the FilleraObservable-aSystemID-aConfiguration- IMPORTANT: This has to be called after instantiation of the filler via class for name
-
generateFormOptions
- Specified by:
generateFormOptionsin classFWAbstractFormComponentFiller- Parameters:
aKey-- Returns:
- a vector of form options
-
generateChart
- Specified by:
generateChartin classFWAbstractFormComponentFiller- Returns:
- JFreeChart
-
generateObject
- Specified by:
generateObjectin classFWAbstractFormComponentFiller- Returns:
- object
-
generateFieldList
- Specified by:
generateFieldListin classFWAbstractFormComponentFiller- Returns:
- list of fields
-