|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AutoFilterTableModel
.
@Deprecated public interface AutoFilterTableHeaderAdapter
Nested Class Summary | |
---|---|
static interface |
AutoFilterTableHeaderAdapter.FilterTitleFormatter
Deprecated. An interface which is used to format the filter title. |
Method Summary | |
---|---|
DynamicTableFilter[] |
getDynamicTableFilters(int column)
Deprecated. Gets all the DynamicTableFilter s. |
AutoFilterTableHeaderAdapter.FilterTitleFormatter |
getFilterTitleFormatter(int column)
Deprecated. Gets the formatter that will format the title for the AutoFilterTableHeader. |
ListCellRenderer |
getListCellRenderer(int column)
Deprecated. Gets the list cell renderer for the drop down filter list. |
StringConverter |
getTitleConverter(int column)
Deprecated. Gets the title converter to convert the column name. |
boolean |
isAllowCustomFilter(int column)
Deprecated. Checks if the AutoFilterTableHeader allows custom filter. |
boolean |
isAllowMultipleValues(int column)
Deprecated. Checks if the AutoFilterTableHeader allows multiple values as the filter for the column index. |
boolean |
isColumnAutoFilterable(int column)
Deprecated. Checks if the column is auto-filterable. |
boolean |
isUseTableCellRenderer(int column)
Deprecated. Checks if the table cell renderer will be used for the list. |
boolean |
isValuePredetermined(int column)
Deprecated. Checks if the column is type-filterable. |
Method Detail |
---|
boolean isColumnAutoFilterable(int column)
AutoFilterHeader
. If it
returns false, we will not show the filter button on the header for that column.
column
- the column index.
boolean isValuePredetermined(int column)
AutoFilterHeader
at multiple
line mode. If it returns false, we will not show the filter field on the header for that column.
column
- the column index.
boolean isAllowMultipleValues(int column)
AutoFilterTableHeader
allows multiple values as the filter for the column index. The
difference will be to use a CheckBoxList or a regular JList as the popup panel when clicking on the filter button.
column
- the column index.
StringConverter getTitleConverter(int column)
column
- the column index
AutoFilterTableHeaderAdapter.FilterTitleFormatter getFilterTitleFormatter(int column)
column
- the column index
DynamicTableFilter[] getDynamicTableFilters(int column)
DynamicTableFilter
s.
DynamicTableFilter
allows to add your own customize filter to the drop down filter list. Any
DynamicTableFilter
will become an entry in the list. If user clicks on that entry, the filter will
be used to filter the column. What's special about DynamicTableFilter
is it allows to to create a
filter on fly. For example, in initializeFilter method of DynamicTableFilter, you can pop up a dialog to allow
user to select certain information and you return a filter based on user selection. If returning null, no filter
will be added. If not null, the filter you just created will be added to the IFilterableTableModel
.
column
- the column in the model to add the DynamicTableFilter
DynamicTableFilter
s.ListCellRenderer getListCellRenderer(int column)
column
- the column in the model to add the DynamicTableFilter
DynamicTableFilter
s.boolean isUseTableCellRenderer(int column)
column
- the column index.
boolean isAllowCustomFilter(int column)
AutoFilterTableHeader
allows custom filter. The difference is there will be a (Custom...)
item in the drop down list.when clicking on the filter button. The value is only considered when
AutoFilterTableHeader.isAllowMultipleValues()
returns false.
column
- the column index.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |