Klasse FWAbstractFormComponentFiller

java.lang.Object
net.simplace.pipe.filler.FWAbstractFormComponentFiller
Bekannte direkte Unterklassen:
FWArraysFormComponentFiller, FWASCIIFormComponentFiller, FWClasspathFormComponentFiller, FWDatabaseFormComponentFiller, FWDatabaseFormTableComponentFiller, FWFilebasedFormComponentFiller, FWFormComponentFillerHSSFwb, FWMapFormComponentFiller, FWObservableFormComponentFiller, FWScenarioFormComponentFiller, FWSimCacheListFormComponentFiller, FWSimVariablesFormComponentFiller, FWSystemFormComponentFiller

public abstract class FWAbstractFormComponentFiller extends Object
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.
Autor:
Andreas Enders
  • Felddetails

  • Konstruktordetails

    • FWAbstractFormComponentFiller

      public FWAbstractFormComponentFiller()
  • Methodendetails

    • initialize

      public void initialize(Object aContent, Map<String,Object> aParameterMap, FWObservable aObservable, String aSystemID, org.jdom2.Element aConfiguration)
      Parameter:
      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
    • generateFormOptions

      protected abstract Vector<FWFormOption> generateFormOptions(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      a vector of form options
    • generateChart

      protected abstract org.jfree.chart.JFreeChart generateChart(String aKey, ChartStyle aChartStyle)
      Parameter:
      aKey -
      aChartStyle -
      Gibt zurück:
      JFreeChart
    • generateObject

      protected abstract Object generateObject(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      object
    • generateFieldList

      protected abstract List<org.jdom2.Element> generateFieldList(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      list of fields
    • getContent

      protected Object getContent()
      Gibt zurück:
      the content
    • hasParameter

      protected Boolean hasParameter(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the value of the parameter
    • getStringParameter

      protected String getStringParameter(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the value of the parameter
    • getStringInParameter

      protected String getStringInParameter(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the value of the parameter
    • getParameter

      protected Object getParameter(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the value of the parameter
    • replaceParamTokens

      protected String replaceParamTokens(String aKey, String aDefault)
      Parameter:
      aKey -
      aDefault -
      Gibt zurück:
      the value of the parameter
    • setContent

      protected void setContent(Object aContent)
      Parameter:
      aContent - the content to set
    • getFormOptions

      public Vector<FWFormOption> getFormOptions(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the generated FormOptions
    • getFieldList

      public List<org.jdom2.Element> getFieldList(String aKey)
      Parameter:
      aKey -
      Gibt zurück:
      the field list
    • getChart

      public org.jfree.chart.JFreeChart getChart(String aKey, ChartStyle aChartStyle)
      Parameter:
      aKey -
      aChartStyle -
      Gibt zurück:
      the content
    • getObject

      public Object getObject(String aKey, String aClassname)
      Parameter:
      aKey -
      aClassname -
      Gibt zurück:
      the content
    • getSystemID

      protected String getSystemID()
    • getConfiguration

      protected org.jdom2.Element getConfiguration()
    • hasConfiguration

      protected boolean hasConfiguration()
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String aTitle)