Class AttributeVisualizationPanel.BarCalc

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    AttributeVisualizationPanel

    protected class AttributeVisualizationPanel.BarCalc
    extends Thread
    Internal class that calculates the barplot to display, in a separate thread. In particular it initializes some of the crucial internal fields required by paintComponent() to display the histogram for the current attribute. These include: m_histBarCounts or m_histBarClassCounts, m_maxValue and m_colorList.
    • Field Detail

      • m_panelWidth

        protected final int m_panelWidth
    • Constructor Detail

      • BarCalc

        public BarCalc​(int panelWidth,
                       int panelHeight)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread