com.ibm.lab.soln.editor.core
Interface IMiniSpreadsheetListener

All Known Implementing Classes:
MiniSpreadsheetContentProvider, MiniSpreadsheetEditor

public interface IMiniSpreadsheetListener

Notification interface between MiniSpreadsheet and their interested parties.

See Also:
MiniSpreadsheet.addMiniSpreadsheetListener(IMiniSpreadsheetListener), MiniSpreadsheet.removeMiniSpreadsheetListener(IMiniSpreadsheetListener)

Method Summary
 void rowsChanged(MiniSpreadsheet miniSpreadsheet)
          Notification of a rows modification; the change is significant enough that a delta is not included in the notification, i.e., the receiver should assume that all rows may have changed.
 void valueChanged(MiniSpreadsheet miniSpreadsheet, int row, int column, java.lang.String newValue)
          Notification of a cell modification.
 

Method Detail

rowsChanged

public void rowsChanged(MiniSpreadsheet miniSpreadsheet)
Notification of a rows modification; the change is significant enough that a delta is not included in the notification, i.e., the receiver should assume that all rows may have changed.


valueChanged

public void valueChanged(MiniSpreadsheet miniSpreadsheet,
                         int row,
                         int column,
                         java.lang.String newValue)
Notification of a cell modification.

Parameters:
miniSpreadsheet - changed MiniSpreadsheet
row - row index (0-based)
column - column index (0-based)
newValue - new string value of changed cell