net.sourceforge.jpotpourri.gui.log4jlog
Class JPotGuiAppender

java.lang.Object
  extended by org.apache.log4j.AppenderSkeleton
      extended by net.sourceforge.jpotpourri.gui.log4jlog.JPotGuiAppender
All Implemented Interfaces:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public final class JPotGuiAppender
extends org.apache.log4j.AppenderSkeleton

Author:
christoph_pickl@users.sourceforge.net

Field Summary
static java.lang.String SYSPROPERT_SHOW_DEBUG_GUI
           
 
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
 
Constructor Summary
JPotGuiAppender()
           
 
Method Summary
 void activateOptions()
           
protected  void append(org.apache.log4j.spi.LoggingEvent event)
           
 void close()
           
 java.lang.String getColorRowBackgroundEven()
           
 java.lang.String getColorRowBackgroundOdd()
           
 java.lang.String getTableRows()
           
 boolean isSystemLafEnabled()
           
 boolean requiresLayout()
           
 void setColorRowBackgroundEven(java.lang.String colorEven)
           
 void setColorRowBackgroundOdd(java.lang.String colorOdd)
           
 void setColorRowForeground(java.lang.String fontColor)
           
 void setColorSelectedRowBackground(java.lang.String selectedBackgroundColor)
           
 void setColorSelectedRowForeground(java.lang.String selectedFontColor)
           
 void setSystemLafEnabled(boolean systemLafEnabled)
           
 void setTableRows(java.lang.String rows)
           
 
Methods inherited from class org.apache.log4j.AppenderSkeleton
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSPROPERT_SHOW_DEBUG_GUI

public static final java.lang.String SYSPROPERT_SHOW_DEBUG_GUI
See Also:
Constant Field Values
Constructor Detail

JPotGuiAppender

public JPotGuiAppender()
Method Detail

append

protected void append(org.apache.log4j.spi.LoggingEvent event)
Specified by:
append in class org.apache.log4j.AppenderSkeleton

activateOptions

public void activateOptions()
Specified by:
activateOptions in interface org.apache.log4j.spi.OptionHandler
Overrides:
activateOptions in class org.apache.log4j.AppenderSkeleton

close

public void close()
Specified by:
close in interface org.apache.log4j.Appender
Specified by:
close in class org.apache.log4j.AppenderSkeleton

requiresLayout

public boolean requiresLayout()
Specified by:
requiresLayout in interface org.apache.log4j.Appender
Specified by:
requiresLayout in class org.apache.log4j.AppenderSkeleton

isSystemLafEnabled

public boolean isSystemLafEnabled()

setSystemLafEnabled

public void setSystemLafEnabled(boolean systemLafEnabled)

getColorRowBackgroundEven

public java.lang.String getColorRowBackgroundEven()

setColorRowBackgroundEven

public void setColorRowBackgroundEven(java.lang.String colorEven)

getColorRowBackgroundOdd

public java.lang.String getColorRowBackgroundOdd()

setColorRowBackgroundOdd

public void setColorRowBackgroundOdd(java.lang.String colorOdd)

getTableRows

public java.lang.String getTableRows()

setTableRows

public void setTableRows(java.lang.String rows)

setColorRowForeground

public void setColorRowForeground(java.lang.String fontColor)

setColorSelectedRowForeground

public void setColorSelectedRowForeground(java.lang.String selectedFontColor)

setColorSelectedRowBackground

public void setColorSelectedRowBackground(java.lang.String selectedBackgroundColor)


Copyright © 2008. All Rights Reserved.