Oracle JEWT API Reference
Release 4.2.24.0.0
B12199-01

oracle.bali.ewt.model
Interface TwoDModelListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
TwoDModelAdapter

public interface TwoDModelListener
extends java.util.EventListener

A TwoDModelListener listens for TwoDModelEvents that are sent by a TwoDModel. A two dimensional data source can send seven different events.

TwoDModelListener should take appropriate action when they receive one of these events. An example of a TwoDModelListener is oracle.bali.ewt.grid.Grid.

See Also:
TwoDModel, TwoDModelListener

Method Summary
 void columnsAdded(TwoDModelEvent e)
          The TwoDModel has added some columns.
 void columnsRemoved(TwoDModelEvent e)
          The TwoDModel has removed some columns.
 void invalidateCells(TwoDModelEvent e)
          The data in the given cells has changed.
 void invalidateColumns(TwoDModelEvent e)
          The data has changed in the given columns.
 void invalidateRows(TwoDModelEvent e)
          The data has changed in the given rows.
 void rowsAdded(TwoDModelEvent e)
          The TwoDModel has added some rows.
 void rowsRemoved(TwoDModelEvent e)
          The TwoDModel has removed some rows.
 

Method Detail

rowsAdded

public void rowsAdded(TwoDModelEvent e)
The TwoDModel has added some rows.

Parameters:
e - event object

rowsRemoved

public void rowsRemoved(TwoDModelEvent e)
The TwoDModel has removed some rows.

Parameters:
e - event object

invalidateRows

public void invalidateRows(TwoDModelEvent e)
The data has changed in the given rows. The listener should probably repaint in response to this method.

Parameters:
e - event object

columnsAdded

public void columnsAdded(TwoDModelEvent e)
The TwoDModel has added some columns.

Parameters:
e - event object

columnsRemoved

public void columnsRemoved(TwoDModelEvent e)
The TwoDModel has removed some columns.

Parameters:
e - event object

invalidateColumns

public void invalidateColumns(TwoDModelEvent e)
The data has changed in the given columns. The listener should probably repaint in response to this method.

Parameters:
e - event object

invalidateCells

public void invalidateCells(TwoDModelEvent e)
The data in the given cells has changed. The listener should probably repaint in response to this method.

Parameters:
e - event object

Oracle JEWT 4.2.24

Copyright © [xxxx],2003, Oracle. All Rights Reserved.