Package frida

Class FrIDA

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, EventListener, Accessible, ChangeListener, RootPaneContainer, WindowConstants

public class FrIDA extends JFrame implements Runnable, ChangeListener
Class for FrIDA - the Free Intelligent Data Analysis Toolbox.
Since:
2007.02.12
See Also:
  • Field Details

  • Constructor Details

    • FrIDA

      public FrIDA()
      Create a FrIDA main window.
      Since:
      2007.02.12 (Christian Borgelt)
  • Method Details

    • run

      public void run()
      Create the user interface.

      Following the recommendations in the Java tutorial, the user interface is created in the "run" method, which is invoked from the event queue, in order to avoid problems with threads.

      Specified by:
      run in interface Runnable
      Since:
      2007.02.07 (Christian Borgelt)
    • stateChanged

      public void stateChanged(ChangeEvent e)
      Context sensitive tools menu.
      Specified by:
      stateChanged in interface ChangeListener
      Parameters:
      e - the action event to evaluate
      Since:
      2014.09.25 (Christian Borgelt)
    • getFormat

      public dialog.FormatPanel getFormat()
      Get the data format panel.
      Returns:
      the data format panel
      Since:
      2007.07.24 (Christian Borgelt)
    • setFormat

      public void setFormat(dialog.FormatPanel format)
      Set the data format.
      Parameters:
      format - the data format panel describing the format
      Since:
      2007.07.24 (Christian Borgelt)
    • getPath

      public File getPath()
      Get the path to the C programs.
      Returns:
      the path to the C programs
      Since:
      2014.04.01 (Christian Borgelt)
    • setPath

      public void setPath(File path)
      Set the path to the C programs.
      Parameters:
      path - the path to the C programs
      Since:
      2014.04.01 (Christian Borgelt)
    • getFileChooser

      public JFileChooser getFileChooser()
      Get the file chooser.
      Returns:
      the file chooser
      Since:
      2014.04.01 (Christian Borgelt)
    • setDomainsFile

      public void setDomainsFile(File file)
      Set the domains file.
      Parameters:
      file - the domains file to set
      Since:
      2007.07.24 (Christian Borgelt)
    • setTableFile

      public void setTableFile(File file)
      Set the data table file.
      Parameters:
      file - the data file to set
      Since:
      2007.07.24 (Christian Borgelt)
    • setTestFile

      public void setTestFile(File file)
      Set the test file.
      Parameters:
      file - the test file to set
      Since:
      2007.07.24 (Christian Borgelt)
    • setTrActsFile

      public void setTrActsFile(File file)
      Set the transactions file.
      Parameters:
      file - the transactions file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • setOutputFile

      public void setOutputFile(File file)
      Set the association rule output file.
      Parameters:
      file - the association rule output file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • setItemAppFile

      public void setItemAppFile(File file)
      Set the item appearances file.
      Parameters:
      file - the item appearances file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • setGraphsFile

      public void setGraphsFile(File file)
      Set the graphs/molecules file.
      Parameters:
      file - the graphs/molecules file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • setSubsFile

      public void setSubsFile(File file)
      Set the substructure output file.
      Parameters:
      file - the substructure output file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • setIdsFile

      public void setIdsFile(File file)
      Set the substructure output file.
      Parameters:
      file - the substructure output file to set
      Since:
      2014.09.25 (Christian Borgelt)
    • showTable

      protected void showTable(JTextField txt)
      Show a data table (to be read from a file).
      Parameters:
      txt - the text field containing the file name
      Since:
      2007.02.12 (Christian Borgelt)
    • showTable

      protected void showTable(File file)
      Show a data table (to be read from a file).
      Parameters:
      file - the file containing the data table
      Since:
      2007.02.12 (Christian Borgelt)
    • showTrActs

      protected void showTrActs(JTextField txt)
      Show a transactions file (to be read from a file).
      Parameters:
      txt - the text field containing the file name
      Since:
      2014.09.25 (Christian Borgelt)
    • showTrActs

      protected void showTrActs(File file)
      Show a transactions file (to be read from a file).
      Parameters:
      file - the file containing the transactions
      Since:
      2014.09.25 (Christian Borgelt)
    • showPatsOrRules

      protected void showPatsOrRules(JTextField txt)
      Show frequent item patterns or association rules.
      Parameters:
      txt - the text field containing the file name
      Since:
      2014.09.25 (Christian Borgelt)
    • showPatsOrRules

      protected void showPatsOrRules(File file)
      Show a set of association rules.
      Parameters:
      file - the file to load the association rules from
      Since:
      2014.09.25 (Christian Borgelt)
    • main

      public static void main(String[] args)
      Main function for testing basic functionality.
      Parameters:
      args - the command line arguments
      Since:
      2007.02.12 (Christian Borgelt)