Examples of JabaCanvas


Examples of jmt.gui.jaba.graphs.JabaCanvas

        && data.getResults().getSaturationSectors().size() > 0) {
      if (data.getClasses() == 2) {
        this.removeAll();
        s2dp = new Sectors2DGraph(data);
        this.setLayout(new BorderLayout());
        this.add(new JabaCanvas(s2dp), BorderLayout.CENTER);
        this.add(new JLabel(JabaConstants.DESCRIPITION_GRAPH),
            BorderLayout.PAGE_END);
        repaint();
      } else if (data.getClasses() == 3) {
        this.removeAll();
        Sectors3DGraph s3dp = new Sectors3DGraph(data);
        this.setLayout(new BorderLayout());
        this.add(new JabaCanvas(s3dp), BorderLayout.CENTER);
        this.add(new JLabel(JabaConstants.DESCRIPITION_GRAPH),
            BorderLayout.PAGE_END);
        repaint();
      }
    } else {
View Full Code Here

Examples of jmt.gui.jaba.graphs.JabaCanvas

        && data.getResults().getSaturationSectors().size() > 0) {
      if (data.getClasses() == 2) {
        this.removeAll();
        this.setLayout(new BorderLayout());
        graph = new PerformanceIndices2DGraph(data);
        this.add(new JabaCanvas(graph), BorderLayout.CENTER);
        this.add(new JLabel(JabaConstants.DESCRIPITION_GRAPH_PERFORMANCE_INDEX),
            BorderLayout.PAGE_END);
        JPanel flowPanel = new JPanel(
            new FlowLayout(FlowLayout.LEADING));
        flowPanel.add(new JLabel(JabaConstants.SELECT_WHICH_INDEX));
View Full Code Here

Examples of jmt.gui.jaba.graphs.JabaCanvas

        showLabelsBox.setSelected(false);
        showLabelsBox.addActionListener(this);
        showLabelsBox.addChangeListener(this);
        showLabelsBox.addItemListener(this);
        this.add(showLabelsBox, BorderLayout.PAGE_START);
        this.add(new JabaCanvas(painter2D), BorderLayout.CENTER);
        this.add(new JLabel(JabaConstants.DESCRIPITION_CONVEX_2D_GRAPH),
            BorderLayout.PAGE_END);
        repaint();
      } else if (data.getClasses() == 3) {
        this.removeAll();
        painter3D = new Convex3DGraph(data, mainWin);
        this.setLayout(new BorderLayout());
        this.add(make3DOptionPanel(), BorderLayout.EAST);
        this.add(new JabaCanvas(painter3D), BorderLayout.CENTER);
        this.add(new JLabel(JabaConstants.DESCRIPITION_GRAPH),
            BorderLayout.PAGE_END);

        repaint();
      }
View Full Code Here

Examples of jmt.gui.jaba.graphs.JabaCanvas

        && data.getResults().getSaturationSectors().size() > 0) {
      if (data.getClasses() == 2) {
        this.removeAll();
        this.setLayout(new GridLayout(2, 1));
        JPanel tmp = new JPanel(new GridLayout(1, 2));
        tmp.add(new JabaCanvas(new Sectors2DGraph(data)));
        tmp.add(new JabaCanvas(new Convex2DGraph(data, mainWin)));
        this.add(tmp);
        this.add(new JabaCanvas(new PerformanceIndices2DGraph(data)));
        repaint();
      } else if (data.getClasses() == 3) {
        this.removeAll();
        this.setLayout(new GridLayout(1, 2));
        this.add(new JabaCanvas(new Sectors3DGraph(data)));
        this.add(new JabaCanvas(new Convex3DGraph(data, mainWin)));
        repaint();
      }
    } else {
      JEditorPane synView = new JTextPane();
      synView.setContentType("text/html");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.