java.lang.Object |
↳ |
javax.swing.table.AbstractTableModel |
|
↳ |
org.apache.log4j.lf5.viewer.FilteredLogTableModel |
Class Overview
A TableModel for LogRecords which includes filtering support.
Summary
[Expand]
Inherited Fields |
From class
javax.swing.table.AbstractTableModel
protected
EventListenerList |
listenerList |
|
|
[Expand]
Inherited Methods |
From class
javax.swing.table.AbstractTableModel
void
|
addTableModelListener(TableModelListener arg0)
|
int
|
findColumn(String arg0)
|
void
|
fireTableCellUpdated(int arg0, int arg1)
|
void
|
fireTableChanged(TableModelEvent arg0)
|
void
|
fireTableDataChanged()
|
void
|
fireTableRowsDeleted(int arg0, int arg1)
|
void
|
fireTableRowsInserted(int arg0, int arg1)
|
void
|
fireTableRowsUpdated(int arg0, int arg1)
|
void
|
fireTableStructureChanged()
|
Class<?>
|
getColumnClass(int arg0)
|
String
|
getColumnName(int arg0)
|
<T extends EventListener>
T[]
|
getListeners(Class<T> arg0)
|
TableModelListener[]
|
getTableModelListeners()
|
boolean
|
isCellEditable(int arg0, int arg1)
|
void
|
removeTableModelListener(TableModelListener arg0)
|
void
|
setValueAt(Object arg0, int arg1, int arg2)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.swing.table.TableModel
abstract
void
|
addTableModelListener(TableModelListener arg0)
|
abstract
Class<?>
|
getColumnClass(int arg0)
|
abstract
int
|
getColumnCount()
|
abstract
String
|
getColumnName(int arg0)
|
abstract
int
|
getRowCount()
|
abstract
Object
|
getValueAt(int arg0, int arg1)
|
abstract
boolean
|
isCellEditable(int arg0, int arg1)
|
abstract
void
|
removeTableModelListener(TableModelListener arg0)
|
abstract
void
|
setValueAt(Object arg0, int arg1, int arg2)
|
|
Fields
protected
List
_allRecords
protected
String[]
_colNames
protected
List
_filteredRecords
protected
int
_maxNumberOfLogRecords
Public Constructors
public
FilteredLogTableModel
()
Public Methods
public
synchronized
boolean
addLogRecord
(LogRecord record)
public
synchronized
void
clear
()
Clears all records from the LogTableModel
public
synchronized
void
fastRefresh
()
public
int
getColumnCount
()
public
String
getColumnName
(int i)
public
int
getRowCount
()
public
int
getTotalRowCount
()
public
Object
getValueAt
(int row, int col)
public
synchronized
void
refresh
()
Forces the LogTableModel to requery its filters to determine
which records to display.
public
void
setMaxNumberOfLogRecords
(int maxNumRecords)
Protected Methods
protected
List
createFilteredRecordsList
()
protected
Object
getColumn
(int col, LogRecord lr)
protected
LogRecord
getFilteredRecord
(int row)
protected
List
getFilteredRecords
()
protected
boolean
needsTrimming
()
protected
void
trimOldestRecords
()
protected
void
trimRecords
()