public class FilteredLogTableModel
extends javax.swing.table.AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
_allRecords |
protected java.lang.String[] |
_colNames |
protected LogRecordFilter |
_filter |
protected java.util.List |
_filteredRecords |
protected int |
_maxNumberOfLogRecords |
| Constructor and Description |
|---|
FilteredLogTableModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLogRecord(LogRecord record) |
void |
clear()
Clears all records from the LogTableModel
|
protected java.util.List |
createFilteredRecordsList() |
void |
fastRefresh() |
protected java.lang.Object |
getColumn(int col,
LogRecord lr) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int i) |
protected LogRecord |
getFilteredRecord(int row) |
protected java.util.List |
getFilteredRecords() |
LogRecordFilter |
getLogRecordFilter() |
int |
getRowCount() |
int |
getTotalRowCount() |
java.lang.Object |
getValueAt(int row,
int col) |
protected boolean |
needsTrimming() |
void |
refresh()
Forces the LogTableModel to requery its filters to determine
which records to display.
|
void |
setLogRecordFilter(LogRecordFilter filter) |
void |
setMaxNumberOfLogRecords(int maxNumRecords) |
protected void |
trimOldestRecords() |
protected void |
trimRecords() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtprotected LogRecordFilter _filter
protected java.util.List _allRecords
protected java.util.List _filteredRecords
protected int _maxNumberOfLogRecords
protected java.lang.String[] _colNames
public void setLogRecordFilter(LogRecordFilter filter)
public LogRecordFilter getLogRecordFilter()
public java.lang.String getColumnName(int i)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic int getColumnCount()
public int getRowCount()
public int getTotalRowCount()
public java.lang.Object getValueAt(int row,
int col)
public void setMaxNumberOfLogRecords(int maxNumRecords)
public boolean addLogRecord(LogRecord record)
public void refresh()
public void fastRefresh()
public void clear()
protected java.util.List getFilteredRecords()
protected java.util.List createFilteredRecordsList()
protected LogRecord getFilteredRecord(int row)
protected java.lang.Object getColumn(int col,
LogRecord lr)
protected void trimRecords()
protected boolean needsTrimming()
protected void trimOldestRecords()
Copyright © 2020 Confluent, Inc.. All Rights Reserved.