Example usage for javax.swing.event TableModelEvent TableModelEvent

List of usage examples for javax.swing.event TableModelEvent TableModelEvent

Introduction

In this page you can find the example usage for javax.swing.event TableModelEvent TableModelEvent.

Prototype

public TableModelEvent(TableModel source, int firstRow, int lastRow, int column) 

Source Link

Document

The cells in column column in the range [firstRow, lastRow] have been updated.

Usage

From source file:org.jdal.swing.ListTableModel.java

/**
 * Notifies all listeners that the value of the cell at 
 * <code>[row, column]</code> has been updated.
 *
 * @param row  row of cell which has been updated
 * @param column  column of cell which has been updated
 * @see TableModelEvent//from  ww  w.ja  va  2  s . c  om
 * @see EventListenerList
 */
public void fireTableCellUpdated(int row, int column) {
    fireTableChanged(new TableModelEvent(this, row, row, column));
}

From source file:blue.components.lines.Line.java

public void fireTableCellUpdated(int row, int column) {
    fireTableChanged(new TableModelEvent(this, row, row, column));
}

From source file:org.nuclos.client.ui.collect.model.CollectableTableModelImpl.java

/**
 * adds <code>clctef</code> as column number <code>iColumn</code>
 * @param iColumn/*www.  j  av  a2  s. c o m*/
 * @param clctef
 */
@Override
public void addColumn(int iColumn, CollectableEntityField clctef) {
    this.lstclctefColumns.add(iColumn, clctef);
    super.fireTableChanged(
            new TableModelEvent(this, TableModelEvent.HEADER_ROW, TableModelEvent.HEADER_ROW, iColumn));
}