Class JFreeChartVisualizationInput
java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener>
org.palladiosimulator.edp2.visualization.AbstractInput
org.palladiosimulator.edp2.visualization.AbstractVisualizationInput<JFreeChartVisualizationSingleDatastreamInput>
org.palladiosimulator.edp2.visualization.jfreechart.input.JFreeChartVisualizationInput
- 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>
Implementation of an
AbstractVisualizationInput
for
JFreeChartVisualizationSingleDatastreamInput
s.-
Field Summary
Fields inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
inputs
-
Constructor Summary
ConstructorDescriptionEmpty constructor.Constructor with a first input. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureSeriesColors
(org.jfree.chart.renderer.AbstractRenderer renderer) final org.jfree.chart.JFreeChart
Creates a newJFreeChart
.protected PropertyConfigurable
createNewInput
(IDataSource source) boolean
exists()
protected abstract org.jfree.data.general.AbstractDataset
protected abstract org.jfree.chart.plot.Plot
generatePlot
(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset) protected String
getAxisDefaultLabel
(int pos) getName()
boolean
isEmpty()
void
void
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
addInput, canAccept, firstChildInputAdded, getInputs, removeInput
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractInput
getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, getPropertyKeysTriggeringUpdate, getPropertyType, isPropertyNotSet, setProperties, unsetProperty
Methods inherited from class org.palladiosimulator.commons.designpatterns.AbstractObservable
addObserver, getEventDispatcher, getObservers, removeAllObserver, removeObserver
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.commons.designpatterns.IAbstractObservable
addObserver, removeObserver
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IPersistableElement
getFactoryId
Methods inherited from interface org.palladiosimulator.edp2.visualization.IVisualisationInput
getConfiguration
-
Constructor Details
-
JFreeChartVisualizationInput
public JFreeChartVisualizationInput()Empty constructor. -
JFreeChartVisualizationInput
Constructor with a first input.
-
-
Method Details
-
createNewInput
-
exists
public boolean exists() -
getImageDescriptor
-
getName
-
getPersistable
-
getToolTipText
-
isEmpty
public boolean isEmpty() -
saveState
-
createChart
public final org.jfree.chart.JFreeChart createChart()Creates a newJFreeChart
. 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
-
configureSeriesColors
protected void configureSeriesColors(org.jfree.chart.renderer.AbstractRenderer renderer) - Parameters:
renderer
-
-
createConfiguration
- Specified by:
createConfiguration
in classAbstractInput
-
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()
-