Class CDFVisualizationInput
- 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
-
- org.palladiosimulator.edp2.visualization.jfreechart.input.AbstractXYVisualizationInput
-
- org.palladiosimulator.edp2.visualization.jfreechart.input.cdf.CDFVisualizationInput
-
- All Implemented Interfaces:
IAdaptable
,ISelection
,IEditorInput
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>
,IPropertyConfigurable
,IVisualisationInput<JFreeChartVisualizationSingleDatastreamInput>
public class CDFVisualizationInput extends AbstractXYVisualizationInput
A CDFVisualizationInput displays the input data in a Cumulative Distribution Functions (CDFs). Options include the number of bins into which the data is split and whether axis and values are labeled.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
inputs
-
-
Constructor Summary
Constructors Constructor Description CDFVisualizationInput()
Empty constructor.CDFVisualizationInput(AbstractDataSource source)
Constructor, with reference on the source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PropertyConfigurable
createConfiguration()
protected void
firstChildInputAdded(JFreeChartVisualizationSingleDatastreamInput newChildInput)
protected org.jfree.data.general.AbstractDataset
generateDataset()
protected org.jfree.chart.plot.Plot
generatePlot(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset)
String
getFactoryId()
protected Set<String>
getPropertyKeysTriggeringUpdate()
void
saveState(IMemento memento)
-
Methods inherited from class org.palladiosimulator.edp2.visualization.jfreechart.input.AbstractXYVisualizationInput
canAccept, getXPos, getYPos
-
Methods inherited from class org.palladiosimulator.edp2.visualization.jfreechart.input.JFreeChartVisualizationInput
configureSeriesColors, createChart, createNewInput, exists, getAxisDefaultLabel, getImageDescriptor, getName, getPersistable, getToolTipText, isEmpty, reloadData
-
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
addInput, getInputs, removeInput
-
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractInput
getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, 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.palladiosimulator.edp2.visualization.IVisualisationInput
getConfiguration
-
-
-
-
Constructor Detail
-
CDFVisualizationInput
public CDFVisualizationInput()
Empty constructor.
-
CDFVisualizationInput
public CDFVisualizationInput(AbstractDataSource source)
Constructor, with reference on the source. Automatically initiates an update of the#dataset
.- Parameters:
source
-
-
-
Method Detail
-
getFactoryId
public String getFactoryId()
-
saveState
public void saveState(IMemento memento)
- Specified by:
saveState
in interfaceIPersistable
- Overrides:
saveState
in classJFreeChartVisualizationInput
-
generatePlot
protected org.jfree.chart.plot.Plot generatePlot(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset)
- Specified by:
generatePlot
in classJFreeChartVisualizationInput
-
generateDataset
protected org.jfree.data.general.AbstractDataset generateDataset()
- Specified by:
generateDataset
in classJFreeChartVisualizationInput
-
createConfiguration
protected PropertyConfigurable createConfiguration()
- Overrides:
createConfiguration
in classJFreeChartVisualizationInput
-
firstChildInputAdded
protected void firstChildInputAdded(JFreeChartVisualizationSingleDatastreamInput newChildInput)
- Overrides:
firstChildInputAdded
in classAbstractXYVisualizationInput
-
getPropertyKeysTriggeringUpdate
protected Set<String> getPropertyKeysTriggeringUpdate()
- Specified by:
getPropertyKeysTriggeringUpdate
in classAbstractInput
-
-