Log4j 1.3alpha

org.apache.log4j.chainsaw
Class ColorFilter

java.lang.Object
  |
  +--org.apache.log4j.chainsaw.ColorFilter

Deprecated. The new Rule structure replaces this class

public class ColorFilter
extends Object

If there are no filters defined, null is returned for color (the table background should then be used). If more than one color is assigned to a column/regexp combination, the last one added is the one used. Columns and regexps define a single entry for color filtering, meaning the same column may be used in multiple filters, as long as the regexp is unique.

Author:
Scott Deboy

Constructor Summary
ColorFilter()
          Deprecated.  
 
Method Summary
 void addFilter(String columnName, String regExp, Color color)
          Deprecated.  
 void addFilterChangedListener(FilterChangedListener listener)
          Deprecated.  
 void clear()
          Deprecated.  
 Color getColor(List columnNames, LoggingEvent event)
          Deprecated.  
 HashMap getEntriesByColumn(String column)
          Deprecated.  
 Collection getRegExpByColumn(String column)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorFilter

public ColorFilter()
Deprecated. 
Method Detail

addFilterChangedListener

public void addFilterChangedListener(FilterChangedListener listener)
Deprecated. 

addFilter

public void addFilter(String columnName,
                      String regExp,
                      Color color)
Deprecated. 

clear

public void clear()
Deprecated. 

getEntriesByColumn

public HashMap getEntriesByColumn(String column)
Deprecated. 

getRegExpByColumn

public Collection getRegExpByColumn(String column)
Deprecated. 

getColor

public Color getColor(List columnNames,
                      LoggingEvent event)
Deprecated. 

Log4j 1.3alpha

Copyright 2000-2003 Apache Software Foundation.