|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ColumnFilterMapper
ColumnFilterMapper is an interface that defines methods for installing/uninstalling and applying table filters on a FilterTreeTableModel.
| Method Summary | |
|---|---|
void |
applyFilters(FilterTreeTableModel filterTreeTableModel,
int[] excludedModelIndexes)
Applies the stored filters to the supplied filterTreeTableModel,
excluding a list of column indexes defined by excludedModelIndexes. |
void |
commitFilters(FilterTreeTableModel filterTreeTableModel,
Filter filter,
int modelIndex)
Stores and commits the filters for the column modelIndex for which
filter expressions were previously made available to the user. |
void |
filterCancelled()
Cancels the action of previously showing available filter expressions to the user. |
void |
filterVisible(int modelIndex,
CheckBoxTree tree,
TreeTableModel treeTableModel,
TreeTable table)
Method called when available filter expressions are made available to the user. |
int[] |
getFilteredColumns()
Returns an array of the columns that have filters. |
boolean |
hasFilter(int modelIndex)
Determines whether filters for the column modelIndex exist. |
boolean |
removeFilters(FilterTreeTableModel ftm,
int[] modelIndexes,
boolean commit)
Removes the stored filters for the supplied modelIndexes columns. |
| Method Detail |
|---|
void applyFilters(FilterTreeTableModel filterTreeTableModel,
int[] excludedModelIndexes)
filterTreeTableModel,
excluding a list of column indexes defined by excludedModelIndexes.
If excludedModelIndexes is null, or is empty, all stored filters are applied.
filterTreeTableModel - the model to which the stored filters are appliedexcludedModelIndexes - an array of column indexes to exclude while filtering
void commitFilters(FilterTreeTableModel filterTreeTableModel,
Filter filter,
int modelIndex)
modelIndex for which
filter expressions were previously made available to the user.
filterTreeTableModel - the model to which the filters are commitedfilter - the filter to usemodelIndex - the columnvoid filterCancelled()
void filterVisible(int modelIndex,
CheckBoxTree tree,
TreeTableModel treeTableModel,
TreeTable table)
modelIndex - the column for which filter expressions are showntree - the tree that should be filled with a hierarchical filter expression structuretreeTableModel - the data model that holds a hierarchical filter expression structuretable - the treetable containing the structureboolean hasFilter(int modelIndex)
modelIndex exist.
modelIndex - the column
int[] getFilteredColumns()
boolean removeFilters(FilterTreeTableModel ftm,
int[] modelIndexes,
boolean commit)
modelIndexes columns.
ftm - the model from which the stored filters are removedmodelIndexes - a list of columnscommit - a flag indicating that the filter removal should be commited
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||