Class InstanceTable

    • Constructor Detail

      • InstanceTable

        public InstanceTable​(weka.core.Instances data)
        Initializes the table.
        Parameters:
        data - the underlying data
    • Method Detail

      • initialUseOptimalColumnWidths

        protected adams.gui.core.BaseTable.ColumnWidthApproach initialUseOptimalColumnWidths()
        Returns the initial setting of whether to set optimal column widths.
        Overrides:
        initialUseOptimalColumnWidths in class adams.gui.core.BaseTable
        Returns:
        true
      • initialSortNewTableModel

        protected boolean initialSortNewTableModel()
        Returns the initial setting of whether to sort new models.
        Overrides:
        initialSortNewTableModel in class adams.gui.core.SortableAndSearchableTable
        Returns:
        true
      • getTableModelClass

        protected Class getTableModelClass()
        Returns the class of the table model that the models need to be derived from. The default implementation just returns TableModel.class
        Overrides:
        getTableModelClass in class adams.gui.core.SortableAndSearchableTable
        Returns:
        the class the models must be derived from
      • setData

        public void setData​(weka.core.Instances data)
        Sets the Instances object to display.
        Parameters:
        data - the Instances object
      • getData

        public weka.core.Instances getData()
        Returns the underlying Instances object.
        Returns:
        the Instances object