Save This Page
Home » apache-log4j-1.2.15 » org.apache » log4j » lf5 » viewer » [javadoc | source]
org.apache.log4j.lf5.viewer
public class: FilteredLogTableModel [javadoc | source]
java.lang.Object
   javax.swing.table.AbstractTableModel
      org.apache.log4j.lf5.viewer.FilteredLogTableModel

All Implemented Interfaces:
    Serializable, TableModel

A TableModel for LogRecords which includes filtering support.
Field Summary
protected  LogRecordFilter _filter     
protected  List _allRecords     
protected  List _filteredRecords     
protected  int _maxNumberOfLogRecords     
protected  String[] _colNames     
Constructor:
 public FilteredLogTableModel() 
Method from org.apache.log4j.lf5.viewer.FilteredLogTableModel Summary:
addLogRecord,   clear,   createFilteredRecordsList,   fastRefresh,   getColumn,   getColumnCount,   getColumnName,   getFilteredRecord,   getFilteredRecords,   getLogRecordFilter,   getRowCount,   getTotalRowCount,   getValueAt,   needsTrimming,   refresh,   setLogRecordFilter,   setMaxNumberOfLogRecords,   trimOldestRecords,   trimRecords
Methods from javax.swing.table.AbstractTableModel:
addTableModelListener,   findColumn,   fireTableCellUpdated,   fireTableChanged,   fireTableDataChanged,   fireTableRowsDeleted,   fireTableRowsInserted,   fireTableRowsUpdated,   fireTableStructureChanged,   getColumnClass,   getColumnName,   getListeners,   getTableModelListeners,   isCellEditable,   removeTableModelListener,   setValueAt
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.lf5.viewer.FilteredLogTableModel Detail:
 public synchronized boolean addLogRecord(LogRecord record) 
 public synchronized  void clear() 
    Clears all records from the LogTableModel
 protected List createFilteredRecordsList() 
 public synchronized  void fastRefresh() 
 protected Object getColumn(int col,
    LogRecord lr) 
 public int getColumnCount() 
 public String getColumnName(int i) 
 protected LogRecord getFilteredRecord(int row) 
 protected List getFilteredRecords() 
 public LogRecordFilter getLogRecordFilter() 
 public int getRowCount() 
 public int getTotalRowCount() 
 public Object getValueAt(int row,
    int col) 
 protected boolean needsTrimming() 
 public synchronized  void refresh() 
    Forces the LogTableModel to requery its filters to determine which records to display.
 public  void setLogRecordFilter(LogRecordFilter filter) 
 public  void setMaxNumberOfLogRecords(int maxNumRecords) 
 protected  void trimOldestRecords() 
 protected  void trimRecords()