JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Class TableListenerPropagator

java.lang.Object
  |
  +--com.klg.jclass.table.TableListenerPropagator
All Implemented Interfaces:
EventListener, JCTableDataListener

public class TableListenerPropagator
extends Object
implements JCTableDataListener

Wrap a formula and listen for changes to table cells which are operands for this formula. Propagate the change, if any, so others up the food chain can re-evaluate themselves.


Field Summary
protected  int column
           
protected  com.klg.jclass.util.formulae.Operation operation
           
protected  int row
           
 
Constructor Summary
TableListenerPropagator(com.klg.jclass.util.formulae.Operation operation, int row, int column)
          Wrap a formula and listen for changes to table cells which are operands for this formula.
 
Method Summary
 void dataChanged(com.klg.jclass.table.JCTableDataEvent event)
          Invoked when the data source is changed.
 boolean dependant(int row1, int column1)
          Determine if the change occurred in any of the cells from which we derive our value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operation

protected com.klg.jclass.util.formulae.Operation operation

row

protected int row

column

protected int column
Constructor Detail

TableListenerPropagator

public TableListenerPropagator(com.klg.jclass.util.formulae.Operation operation,
                               int row,
                               int column)
Wrap a formula and listen for changes to table cells which are operands for this formula. Propagate the change, if any, so others up the food chain can re-evaluate themselves.

Method Detail

dataChanged

public void dataChanged(com.klg.jclass.table.JCTableDataEvent event)
Invoked when the data source is changed.

Specified by:
dataChanged in interface JCTableDataListener

dependant

public boolean dependant(int row1,
                         int column1)
Determine if the change occurred in any of the cells from which we derive our value.


Copyright © 2004 Quest Software Inc..
All rights reserved.