Class JFreeChartVisualizationInput

java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener>
All Implemented Interfaces:
IAdaptable, ISelection, IEditorInput, IPersistable, IPersistableElement, org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>, IPropertyConfigurable, IVisualisationInput<JFreeChartVisualizationSingleDatastreamInput>
Direct Known Subclasses:
AbstractXYVisualizationInput, PieChartVisualizationInput

public abstract class JFreeChartVisualizationInput extends AbstractVisualizationInput<JFreeChartVisualizationSingleDatastreamInput>
  • Constructor Details

    • JFreeChartVisualizationInput

      public JFreeChartVisualizationInput()
      Empty constructor.
    • JFreeChartVisualizationInput

      public JFreeChartVisualizationInput(JFreeChartVisualizationSingleDatastreamInput firstInput)
      Constructor with a first input.
  • Method Details

    • createNewInput

    • exists

      public boolean exists()
    • getImageDescriptor

      public ImageDescriptor getImageDescriptor()
    • getName

      public String getName()
    • getPersistable

      public IPersistableElement getPersistable()
    • getToolTipText

      public String getToolTipText()
    • isEmpty

      public boolean isEmpty()
    • saveState

      public void saveState(IMemento memento)
    • createChart

      public final org.jfree.chart.JFreeChart createChart()
      Creates a new JFreeChart. Charts are specific for each EditorInput. Typically an update of the current DataSet is recommended, before the chart itself is updated.
    • reloadData

      public void reloadData()
    • getAxisDefaultLabel

      protected String getAxisDefaultLabel(int pos)
    • configureSeriesColors

      protected void configureSeriesColors(org.jfree.chart.renderer.AbstractRenderer renderer)
      Parameters:
      renderer -
    • createConfiguration

      protected PropertyConfigurable createConfiguration()
      Specified by:
      createConfiguration in class AbstractInput
    • generatePlot

      protected abstract org.jfree.chart.plot.Plot generatePlot(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset)
    • generateDataset

      protected abstract org.jfree.data.general.AbstractDataset generateDataset()