prefuse.data.event
Interface ColumnListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ColumnMetadata, Graph.Listener, Table, TreeIndex

public interface ColumnListener
extends java.util.EventListener

Listener interface for monitoring changes to a data column.

Author:
jeffrey heer

Method Summary
 void columnChanged(Column src, int idx, boolean prev)
          Notification that a data column has changed.
 void columnChanged(Column src, int idx, double prev)
          Notification that a data column has changed.
 void columnChanged(Column src, int idx, float prev)
          Notification that a data column has changed.
 void columnChanged(Column src, int idx, int prev)
          Notification that a data column has changed.
 void columnChanged(Column src, int type, int start, int end)
          Notification that a data column has changed.
 void columnChanged(Column src, int idx, long prev)
          Notification that a data column has changed.
 void columnChanged(Column src, int idx, java.lang.Object prev)
          Notification that a data column has changed.
 

Method Detail

columnChanged

public void columnChanged(Column src,
                          int type,
                          int start,
                          int end)
Notification that a data column has changed.

Parameters:
src - the column that has changed
type - One of EventConstants.INSERT, EventConstants.DELETE, or EventConstants.UPDATE.
start - the first column index that has been changed
end - the last column index that has been changed

columnChanged

public void columnChanged(Column src,
                          int idx,
                          int prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location

columnChanged

public void columnChanged(Column src,
                          int idx,
                          long prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location

columnChanged

public void columnChanged(Column src,
                          int idx,
                          float prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location

columnChanged

public void columnChanged(Column src,
                          int idx,
                          double prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location

columnChanged

public void columnChanged(Column src,
                          int idx,
                          boolean prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location

columnChanged

public void columnChanged(Column src,
                          int idx,
                          java.lang.Object prev)
Notification that a data column has changed.

Parameters:
src - the column that has changed
idx - the column row index that has changed
prev - the previous value at the given location


Copyright ? 2007 Regents of the University of California