prefuse.data.util
Interface ColumnProjection

All Known Implementing Classes:
AbstractColumnProjection, AcceptAllColumnProjection, NamedColumnProjection

public interface ColumnProjection

Interface for filtering only a subset of a Table columns, computing a projection of the available data fields. Used in conjunction with CascadedTable instances to control what fields are inherited from a parent table.

Author:
jeffrey heer

Method Summary
 void addProjectionListener(ProjectionListener lstnr)
          Add a listener to this column projection
 boolean include(Column col, java.lang.String name)
          Determine if the given Column should be included.
 void removeProjectionListener(ProjectionListener lstnr)
          Remove a listener from this column projection
 

Method Detail

include

boolean include(Column col,
                java.lang.String name)
Determine if the given Column should be included.

Parameters:
col - the Column to test
name - the name of the column
Returns:
true if the column passes the projection, false otherwise

addProjectionListener

void addProjectionListener(ProjectionListener lstnr)
Add a listener to this column projection

Parameters:
lstnr - the listener to add

removeProjectionListener

void removeProjectionListener(ProjectionListener lstnr)
Remove a listener from this column projection

Parameters:
lstnr - the listener to remove


Copyright © 2007 Regents of the University of California