Class HistogramVisualizationInput
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.histogram.HistogramVisualizationInput
- All Implemented Interfaces:
IAdaptable
,ISelection
,IEditorInput
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>
,IPropertyConfigurable
,IVisualisationInput<JFreeChartVisualizationSingleDatastreamInput>
A HistogramEditorInput displays the input data in a histogram either in absolute or relative
frequency. 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
ConstructorDescriptionEmpty constructor.Constructor, with reference on the source. -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyConfigurable
protected void
firstChildInputAdded
(JFreeChartVisualizationSingleDatastreamInput newChildInput) protected org.jfree.data.general.AbstractDataset
protected org.jfree.chart.plot.Plot
generatePlot
(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset) void
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 Details
-
HistogramVisualizationInput
public HistogramVisualizationInput()Empty constructor. -
HistogramVisualizationInput
Constructor, with reference on the source. Automatically initiates an update of the#dataset
.- Parameters:
source
-
-
-
Method Details
-
getFactoryId
-
saveState
- 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
- Overrides:
createConfiguration
in classJFreeChartVisualizationInput
-
firstChildInputAdded
- Overrides:
firstChildInputAdded
in classAbstractXYVisualizationInput
-
getPropertyKeysTriggeringUpdate
- Specified by:
getPropertyKeysTriggeringUpdate
in classAbstractInput
-