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>
public class HistogramVisualizationInput extends AbstractXYVisualizationInput
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
Constructors Constructor Description HistogramVisualizationInput()
Empty constructor.HistogramVisualizationInput(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
-
HistogramVisualizationInput
public HistogramVisualizationInput()
Empty constructor.
-
HistogramVisualizationInput
public HistogramVisualizationInput(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
-
-