Package weka.gui.sql

Class ResultPanel

    • Constructor Detail

      • ResultPanel

        public ResultPanel​(JFrame parent)
        initializes the panel
        Parameters:
        parent - the parent of this panel
    • Method Detail

      • clear

        public void clear()
        sets the parameters back to standard
      • setFocus

        public void setFocus()
        sets the focus in a designated control
      • getQueryPanel

        public QueryPanel getQueryPanel()
        returns the currently set QueryPanel, can be NULL
        Returns:
        the current QueryPanel, possibly NULL
      • setQueryPanel

        public void setQueryPanel​(QueryPanel panel)
        sets the QueryPanel to use for displaying the query
        Parameters:
        panel - the panel used for displaying the query
      • addResultChangedListener

        public void addResultChangedListener​(ResultChangedListener l)
        adds the given listener to the list of listeners
        Parameters:
        l - the listener to add to the list
      • removeResultChangedListener

        public void removeResultChangedListener​(ResultChangedListener l)
        removes the given listener from the list of listeners
        Parameters:
        l - the listener to remove