Class FWAbstractResultFormComponentPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.simplace.pipe.formcomponents.result.FWAbstractResultFormComponentPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
FWChartResultFormComponentPanel, FWCropResultFormComponentPanel, FWDatasetTableResultFormComponentPanel, FWHtmlResultFormComponentPanel, FWImageResultFormComponentPanel, FWPDFResultFormComponentPanel, FWTableResultFormComponentPanel

public abstract class FWAbstractResultFormComponentPanel extends JPanel
This form component panel can displays results dynamically for different content. Use form filler to pass content to the result component optional: net.simplace.pipe.formcomponents.filler.FWDatabaseFormComponentFiller initial ${mal1.choice2} st_9 or: chart or... net.simplace.pipe.formcomponents.filler.FWChartResultFormComponentPanel and... ${mal1.choice2} st_9 only for chartresults!
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWAbstractResultFormComponentPanel

      public FWAbstractResultFormComponentPanel()
  • Method Details

    • initialize

      public void initialize(String aJumper, FWAbstractFormComponentFiller aFiller, org.jdom2.Element aFormElement, FWObservable aObservable)
      Parameters:
      aJumper -
      aFiller -
      aFormElement -
      aObservable -
    • initFromFiller

      protected abstract void initFromFiller()
      initializes from filler as source remember to initialize the title
    • initFromParameters

      protected abstract void initFromParameters()
      initializes from static parameters as source remember to initialize the title
    • exportData

      public abstract void exportData()
      exporting data of this result
    • getTitle

      public String getTitle()
      Returns:
      delivers the title of the component
    • setTitle

      protected void setTitle(String aTitle)
      sets the title of the component
      Parameters:
      aTitle -
    • getOriginalComponentParameteterValue

      protected String getOriginalComponentParameteterValue(String aKey)
      Parameters:
      aKey -
      Returns:
      the Value of the given parameterkey in FormElement parameters
    • getComponentParameterValue

      protected String getComponentParameterValue(String aKey)
      Parameters:
      aKey -
      Returns:
      the Value of the given parameter key in FormElement parameters
    • getComponentParameterMap

      protected Map<String,Object> getComponentParameterMap()
      Returns:
      the Value of the given parameter key in FormElement parameters
    • getFiller

      protected FWAbstractFormComponentFiller getFiller()
      Returns:
      the filler
    • hasFiller

      protected boolean hasFiller()
      Returns:
      the filler
    • getFormElement

      protected org.jdom2.Element getFormElement()
      Returns:
      the formElement
    • getSystemID

      public String getSystemID()
      Returns:
      the SystemID of Component
    • getJumper

      protected String getJumper()
      Returns:
      the jumper
    • getLocaleValue

      protected String getLocaleValue(String aKey, String aDefault)
      Parameters:
      aKey -
      aDefault -
      Returns:
      the localized value This method limits the coding for reading values from the locale.
    • getObservable

      protected FWObservable getObservable()
      Returns:
      the observable