Class SwingTreePlot<N,​Row,​Column>

  • All Implemented Interfaces:
    com.macrofocus.crossplatform.CPComponent<javax.swing.JComponent>, TreePlot<javax.swing.JComponent,​N,​Row,​Column,​java.awt.Color,​java.awt.Font>

    public class SwingTreePlot<N,​Row,​Column>
    extends AbstractTreePlot<javax.swing.JComponent,​N,​Row,​Column,​java.awt.Color,​java.awt.Font>
    A facade to the TreeMap model-view-controller (MVC) architecture. In brief, the controller collects user input, the model manipulates application data, and the view presents results to the user. This class wraps a TreePlotModel, SwingTreePlotView, and SwingTreePlotController together. It allows easy loading of the data and customization of the most common settings.
    • Constructor Detail

      • SwingTreePlot

        public SwingTreePlot()
        Creates a TreePlot component with default settings and configuration.
      • SwingTreePlot

        public SwingTreePlot​(SwingTreePlotModel model)
        Creates a TreePlot component with the its native data model.
        Parameters:
        model - a TreePlotModel
      • SwingTreePlot

        public SwingTreePlot​(SwingTreeMapModel model)
        Creates a TreePlot component using the data model used by TreeMap.
        Parameters:
        model - a TreeMapModel
      • SwingTreePlot

        public SwingTreePlot​(TreeMapModel model)
        Creates a TreePlot component using the data model used by TreeMap.
        Parameters:
        model - a TreeMapModel
      • SwingTreePlot

        public SwingTreePlot​(com.macrofocus.molap.dataframe.DataFrame dataFrame)
        Creates a TreePlot component with the specified Swing TableModel.
        Parameters:
        dataFrame - a DataFrame
      • SwingTreePlot

        public SwingTreePlot​(javax.swing.table.TableModel tableModel)
        Creates a TreePlot component with the specified Swing TableModel.
        Parameters:
        tableModel - a Swing TableModel