public final JPanel getPanel() { if (panel == null) { synchronized (this) { if (panel == null) { panel = new MatrixPanel(this); } } } return panel; }
public SingleTableColumnModel(TableModel64 tableModel64) { super(tableModel64); setDefaultColumnWidth(50); }
public void tableChanged(TableModelEvent e) { removePreloader(); }
public MatlabPanel(MatrixGUIObject m) { this.matrix = m; setLayout(new FlowLayout()); add(new JButton(new MatrixPlotAction())); add(new JButton(new XYPlotAction())); add(new JButton(new ScatterPlotAction())); add(new JButton(new HistogramAction())); add(new JButton(new SurfAction())); add(new JButton(new ImagescAction())); add(new JButton(new BarAction())); add(new JButton(new BarhAction())); add(new JButton(new StemAction())); add(new JButton(new PieAction())); add(new JButton(new Pie3Action())); add(new JButton(new PairsAction())); }
public RPanel(MatrixGUIObject m) { this.matrix = m; setLayout(new FlowLayout()); add(new JButton(new ScatterPlotAction())); add(new JButton(new ImageAction())); add(new JButton(new HistAction())); add(new JButton(new PairsPlotAction())); add(new JButton(new BoxPlotAction())); add(new JButton(new QQNormAction())); add(new JButton(new CloseLastFigureAction())); }
public OctavePanel(MatrixGUIObject m) { this.matrix = m; setLayout(new FlowLayout()); add(new JButton(new MatrixPlotAction())); add(new JButton(new XYPlotAction())); add(new JButton(new ScatterPlotAction())); add(new JButton(new HistogramPlotAction())); }
public GnuPlotPanel(MatrixGUIObject m) { this.matrix = m; setLayout(new FlowLayout()); add(new JButton(new XYPlotAction())); add(new JButton(new ScatterPlotAction())); }
public MatrixEditorPanel(String title, MatrixGUIObject m) { setLayout(new BorderLayout()); editor = new MatrixTableEditorPanel(title, m); add(editor, BorderLayout.CENTER); }
private void removePreloader() { if (isShowPreloader && dataModel.getRowCount() >= 0 && dataModel.getColumnCount() >= 0) { isShowPreloader = false; this.remove(preloader); this.add(scrollPane, BorderLayout.CENTER); this.revalidate(); } }
public UnbufferedMatrixTreemapPanel(TreeMatrix<?> matrix) { super(matrix.getGUIObject()); this.treeMatrix = matrix; setPreferredSize(new Dimension(600, 400)); this.addMouseListener(this); }
public MatrixTreemapPanel(TreeMatrix<?> matrix) { super(new UnbufferedMatrixTreemapPanel(matrix)); } }
public void valueChanged(ListSelectionEvent e) { repaint(100); }
private long getRowPos(int y) { return matrixGUIObject.getRowCount64() * y / getHeight(); }
private long getColPos(int x) { return matrixGUIObject.getColumnCount64() * x / getWidth(); }
private void registerKeyboardActions() { for (JComponent c : new MatrixActions(this, matrixGUIObject, null)) { if (c instanceof JMenuItem) { registerKeyboardAction(((JMenuItem) c).getAction()); } } }
public void componentResized(ComponentEvent e) { renderer.setSize(getSize()); GraphicsExecutor.scheduleUpdate(this); }
public void valueChanged(ListSelectionEvent e) { valueChanged(new ListSelectionEvent64(e.getSource(), e.getFirstIndex(), e.getLastIndex(), e.getValueIsAdjusting())); }
public MatrixFrame(MatrixGUIObject m) { super(m, new MatrixPanel(m)); setJMenuBar(new MatrixMenuBar(null, m, null)); }
public void tableChanged(TableModelEvent64 e) { removePreloader(); }