Public Member Functions | |
LogTableRowSorter (LogTableDataModel model) | |
Override void | setFilters (FiltersVector newFilters, boolean append) |
String | getFiltersString () |
FiltersVector | getFilters () |
void | setLogLevel (LogTypeHelper newLevel) |
void | toggleSortOrder (int column) |
void | run () |
Private Member Functions | |
void | applyChanges () |
Private Attributes | |
final FiltersVector | filters = new FiltersVector() |
LogTypeHelper | logLevel = LogTypeHelper.TRACE |
int | col |
LogTableRowSorter
extends TableRowSorter
to customize ordering, sorting and filtering for the table of logs.
The engine and the FilterChooserDialog
uses a FiltersVector
to apply filtering to the logs but JTable
needs a RowSorter
instead.
This object converts the engine specific vector of filters into the objects expected by the table.
|
|
|
Set a new filter forcing a reordering of the table |
|
Return the filters defined by the user
|
|
|
|
The thread to execute the |
|
|
|
Set the new log level i.e. the level of the logs shown in the table.
|
|
Change the ordering when the user presses over a column header. We need to execute this method on a separate thread otherwise the GUI freezes until the ordering completes. |
|
The column for the
|
|
The filters |
|
The log level
|