|
Log4j 1.3alpha | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.chainsaw.ColorFilter
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.
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 |
public ColorFilter()
Method Detail |
public void addFilterChangedListener(FilterChangedListener listener)
public void addFilter(String columnName, String regExp, Color color)
public void clear()
public HashMap getEntriesByColumn(String column)
public Collection getRegExpByColumn(String column)
public Color getColor(List columnNames, LoggingEvent event)
|
Log4j 1.3alpha | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |