de.dfg.oc.logfileanalyzer.histogram
Class UniversalHistogram
java.lang.Object
de.dfg.oc.logfileanalyzer.histogram.AbstractHistogram
de.dfg.oc.logfileanalyzer.histogram.UniversalHistogram
public class UniversalHistogram
- extends AbstractHistogram
Creates a histogram for any table column containing numbers. Simply pass the
column name to the constructor.
- Author:
- Clemens Gersbacher, Holger Prothmann
UniversalHistogram
public UniversalHistogram(String _columnName)
- Constructor. Requires the name of the column that should be displayed.
- Parameters:
_columnName
- name of the column that is displayed in this histogram
calculateHistogramData
public Vector<Double> calculateHistogramData(DefaultTableModel _selectedTable)
- Description copied from class:
AbstractHistogram
- Abstract method. Determines the data displayed in the histogram.
- Specified by:
calculateHistogramData
in class AbstractHistogram
- Parameters:
_selectedTable
- the table that was selected by the user as basis for the
histogram
- Returns:
- the data that will be displayed in the histogram