com.sciapp.tree
Interface Footer


public interface Footer

This interface defines the place and number of FooterRows to add to a TreeTableModel. Implementors of this interface should be synchronized with the Aggregator object of the TreeTableModel, in order to produce concrete and consistent results.


Method Summary
 int getFooterSize(TreeTableRow row)
          Returns the number of FooterRows to add below a TreeTableRow specified by row.
 

Method Detail

getFooterSize

int getFooterSize(TreeTableRow row)
Returns the number of FooterRows to add below a TreeTableRow specified by row. The simplest implementor will always return the same integer value. More complicated implementations could process the supplied TreeTableRow object and return an appropriate value.

e.g. could return 0 for all rows and 1 for those found at a level 2 in the tree hierarchy.

Parameters:
row - the header row for which a footer we want to set
Returns:
the number of footers associated with the header row supplied