|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterTreeRenderer
FilterTreeRenderer defines methods for displaying a filterable tree header component and also for determining the start of a filter action on a column.
Method Summary | |
---|---|
boolean |
checkForFilter(MouseEvent e,
PopupTreeFilterHeaderModel model)
Determines whether the mouse event triggered the start of a filter action on the column. |
Component |
getFilterableTreeComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column,
PopupTreeFilterHeaderModel model,
TableCellRenderer cellRenderer)
Returns the component used for drawing the filterable header column. |
Method Detail |
---|
boolean checkForFilter(MouseEvent e, PopupTreeFilterHeaderModel model)
e
- the mouse event generated on the table's headermodel
- the tree filter header model containing information about installed filters
Component getFilterableTreeComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column, PopupTreeFilterHeaderModel 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 appropriatelyrow
- the row index of the column being drawn. usually -1column
- the column index of the column being drawnmodel
- the tree filter header model that contains information about installed filterscellRenderer
- the renderer of the 'unfiltered' component
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |