Package dtree

Class DTInfo

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class DTInfo extends JDialog
Class for a dialog to display decision tree node information.
Since:
2015.11.13
See Also:
  • Constructor Details

    • DTInfo

      public DTInfo()
      Create a decision tree node information dialog.
      Since:
      2015.11.13 (Christian Borgelt)
    • DTInfo

      public DTInfo(Frame owner)
      Create a decision tree node information dialog.
      Parameters:
      owner - the component that is to own the dialog box
      Since:
      2015.11.13 (Christian Borgelt)
    • DTInfo

      public DTInfo(Frame owner, String title)
      Create a decision tree node information dialog.
      Parameters:
      owner - the component that is to own the dialog box
      title - the title of the dialog box
      Since:
      2015.11.24 (Christian Borgelt)
  • Method Details

    • setNode

      public void setNode(DTNode node, Color[] cols)
      Set the decision tree node to display.
      Parameters:
      node - the decision tree node to display
      cols - the colors to use for the classes
      Since:
      2015.11.24 (Christian Borgelt)
    • main

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