com.ihr.xbrl.gui.basic
Class VoidLogPanel

java.lang.Object
  extended by com.ihr.xbrl.gui.basic.VoidLogPanel
All Implemented Interfaces:
JLogPanelInterface

public class VoidLogPanel
extends java.lang.Object
implements JLogPanelInterface

A Class that provides a GUI Neutral implementation of the JLogPanelInterface

This class can be used in web applications that does not require any GUI.

The returned handler is just a ConsoleHandler

Author:
Ignacio

Constructor Summary
VoidLogPanel()
           
 
Method Summary
 org.apache.log4j.Level getLevel()
           
 org.apache.log4j.Appender getLogHandler()
           
 void resetLog()
          Clear the content of the log window
 void setLevel(org.apache.log4j.Level level)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidLogPanel

public VoidLogPanel()
Method Detail

getLevel

public org.apache.log4j.Level getLevel()
Specified by:
getLevel in interface JLogPanelInterface
Returns:
Level

getLogHandler

public org.apache.log4j.Appender getLogHandler()
Specified by:
getLogHandler in interface JLogPanelInterface

resetLog

public void resetLog()
Description copied from interface: JLogPanelInterface
Clear the content of the log window

Specified by:
resetLog in interface JLogPanelInterface

setLevel

public void setLevel(org.apache.log4j.Level level)
Specified by:
setLevel in interface JLogPanelInterface
Parameters:
level - Level


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa