/** * Receives notification that the underlying dataset has changed. * * @param event the event * * @see DatasetChangeListener */ public void datasetChanged(DatasetChangeEvent event) { fireTableDataChanged(); }
/** * Updates the {@link XYDataset} if allowed. * * @param value the new value. * @param row the row. * @param column the column. */ public void setValueAt(Object value, int row, int column) { if (isCellEditable(row, column)) { // XYDataset only provides methods for reading a dataset... } }
/** * Receives notification that the underlying dataset has changed. * * @param event the event * * @see DatasetChangeListener */ @Override public void datasetChanged(DatasetChangeEvent event) { fireTableDataChanged(); }
/** * Updates the {@link XYDataset} if allowed. * * @param value the new value. * @param row the row. * @param column the column. */ @Override public void setValueAt(Object value, int row, int column) { if (isCellEditable(row, column)) { // XYDataset only provides methods for reading a dataset... } }
/** * Sets the model (dataset). * * @param dataset the dataset. */ public void setModel(TableXYDataset dataset) { this.model = dataset; this.model.addChangeListener(this); fireTableDataChanged(); }
/** * Sets the model (dataset). * * @param dataset the dataset. */ public void setModel(TableXYDataset dataset) { this.model = dataset; this.model.addChangeListener(this); fireTableDataChanged(); }