|
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 FilterRenderer
FilterRenderer defines methods for displaying a filterable header component and also for determining the start of a filter action on a column.
Method Summary | |
---|---|
boolean |
checkForFilter(MouseEvent e,
PopupFilterHeaderModel model)
Determines whether the mouse event triggered the start of a filter action on the column. |
Component |
getFilterableComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column,
int rollOverColumn,
PopupFilterHeaderModel model,
TableCellRenderer cellRenderer)
Returns the component used for drawing the filterable header column. |
Method Detail |
---|
boolean checkForFilter(MouseEvent e, PopupFilterHeaderModel model)
e
- the mouse event generated on the table's headermodel
- the filter header model containing information about installed filters
Component getFilterableComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column, int rollOverColumn, PopupFilterHeaderModel model, TableCellRenderer cellRenderer)
table
- the table that is asking the renderer to drawvalue
- the value of the column to be renderedisSelected
- true if the column is to be rendered with the selection highlighted, false otherwisehasFocus
- if true, render appropriately.row
- the row index of the column being drawn. usually -1column
- the column index of the column being drawnrollOverColumn
- the column that the mouse is rolled over at the time of drawing or -1 if there is no rollover columnmodel
- the filter header model that contains information about installed filterscellRenderer
- the renderer of the 'unfiltered' component
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |