Klasse FWChartFormComponent

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible, FWObserver

public class FWChartFormComponent extends FWAbstractFormComponent
Veraltet.
This form component displays a JFreeChart. It is a display only component. The displayed chart can be set by one of the setChart(JFreeChart) methods.
Version:
1.0
Autor:
Andreas Enders
Siehe auch:
  • Felddetails

    • iChartPanel

      protected org.jfree.chart.ChartPanel iChartPanel
      Veraltet.
      The Panel the chart is displayed in.
  • Konstruktordetails

    • FWChartFormComponent

      public FWChartFormComponent(String aFormID, String aFieldID, boolean aShowLabel, int aDetachable, org.jdom2.Element aFormElement, FWObservable aObservable)
      Veraltet.
      Parameter:
      aFormID -
      aFieldID -
      aShowLabel -
      aDetachable -
      aFormElement -
      aObservable -
  • Methodendetails

    • getValue

      public String getValue()
      Veraltet.
      Returns JFreeChart.toString() of the displayed chart.
      Angegeben von:
      getValue in Klasse FWAbstractFormComponent
      Gibt zurück:
      null if no chart is currently displayed
    • setValue

      public void setValue(Object aValue)
      Veraltet.
      Does nothing because a chart can not be created from string.
      Angegeben von:
      setValue in Klasse FWAbstractFormComponent
      Parameter:
      aValue - of the implemented component
    • setChart

      public void setChart(org.jfree.chart.JFreeChart aChart)
      Veraltet.
      Sets the displayed chart.
      Parameter:
      aChart - a chart
      Siehe auch:
    • setChart

      public void setChart(org.jfree.data.general.Dataset aDataset, ChartStyle aStyle)
      Veraltet.
      Creates and displays a chart.
      Parameter:
      aDataset - the data for the a chart
      aStyle - the style for the chart
      Siehe auch:
    • update

      public void update(FWObservable aObservabal, Object aKeyOfParameterChanged)
      Veraltet.
      This method is called whenever the observed object is changed. It does nothing yet, because ChartFormComponent is not an input component.
      Angegeben von:
      update in Schnittstelle FWObserver
      Setzt außer Kraft:
      update in Klasse FWAbstractFormComponent
      Parameter:
      aObservabal - the observable object.
      aKeyOfParameterChanged - an argument passed to the notifyObservers method.
      Siehe auch:
    • processFormFiller

      public void processFormFiller()
      Veraltet.
      Angegeben von:
      processFormFiller in Klasse FWAbstractFormComponent
    • getValueCell

      protected com.lowagie.text.Rectangle getValueCell(int aType)
      Veraltet.
      Beschreibung aus Klasse kopiert: FWAbstractFormComponent
      returns the value label to use for generating rtf, pdf or html version of the form
      Angegeben von:
      getValueCell in Klasse FWAbstractFormComponent
      Parameter:
      aType -
      Gibt zurück:
      iText Cell