Class AttributeSummaryPanel.AttributeInfoPanel

    • Field Detail

      • NO_SOURCE

        public static final String NO_SOURCE
        Message shown when no instances have been loaded and no attribute set
        See Also:
        Constant Field Values
      • m_AttributeNameLab

        protected JLabel m_AttributeNameLab
        Displays the name of the relation
      • m_AttributeTypeLab

        protected JLabel m_AttributeTypeLab
        Displays the type of attribute
      • m_MissingLab

        protected JLabel m_MissingLab
        Displays the number of missing values
      • m_UniqueLab

        protected JLabel m_UniqueLab
        Displays the number of unique values
      • m_DistinctLab

        protected JLabel m_DistinctLab
        Displays the number of distinct values
    • Constructor Detail

      • AttributeInfoPanel

        public AttributeInfoPanel()
        Initializes the widget.
    • Method Detail

      • clear

        public void clear()
        Clears the display.
      • updateStatistics

        public void updateStatistics​(weka.core.AttributeStats as)
        Sets the gui elements for fields that are stored in the AttributeStats structure.
        Parameters:
        as - the attribute statistics
      • updateLabels

        public void updateLabels​(weka.core.Attribute att)
        Sets the labels for fields we can determine just from the instance header.
        Parameters:
        att - the selected attribute