de.jaret.util.ui.table.model
Interface IJaretTableModelListener

All Known Implementing Classes:
JaretTable

public interface IJaretTableModelListener

Listener for listening to table model changes on a jaret table model.

Version:
$Id: IJaretTableModelListener.java 179 2007-01-07 17:37:50Z olk $
Author:
Peter Kliem

Method Summary
 void cellChanged(IRow row, IColumn column)
          The value of the specified cell changed.
 void columnAdded(int idx, IColumn column)
          Called when a column has been added to the table model.
 void columnChanged(IColumn column)
          Called when a column changed.
 void columnRemoved(IColumn column)
          Called when a column has been removed from the model.
 void rowAdded(int idx, IRow row)
          Called when a row has been added to the model.
 void rowChanged(IRow row)
          Called if there has been a change in the row data.
 void rowRemoved(IRow row)
          Called when a row has been removed from the model.
 void tableDataChanged()
          All table data has been invalidated.
 

Method Detail

rowChanged

void rowChanged(IRow row)
Called if there has been a change in the row data.

Parameters:
row - row that changed.

rowRemoved

void rowRemoved(IRow row)
Called when a row has been removed from the model.

Parameters:
row - removed row.

rowAdded

void rowAdded(int idx,
              IRow row)
Called when a row has been added to the model.

Parameters:
idx - index of the added row.
row - row that has been added.

columnAdded

void columnAdded(int idx,
                 IColumn column)
Called when a column has been added to the table model.

Parameters:
idx - index of the new column.
column - the new column.

columnRemoved

void columnRemoved(IColumn column)
Called when a column has been removed from the model.

Parameters:
column - the removed row.

columnChanged

void columnChanged(IColumn column)
Called when a column changed.

Parameters:
column - changed column.

cellChanged

void cellChanged(IRow row,
                 IColumn column)
The value of the specified cell changed.

Parameters:
row - of the cell
column - of the cell

tableDataChanged

void tableDataChanged()
All table data has been invalidated.



Copyright © 2012. All Rights Reserved.