com.eviware.soapui.support.log
Class InspectorLog4JMonitor

java.lang.Object
  extended by com.eviware.soapui.support.log.InspectorLog4JMonitor
All Implemented Interfaces:
JInspectorPanel, Log4JMonitor

public class InspectorLog4JMonitor
extends java.lang.Object
implements JInspectorPanel, Log4JMonitor

JTabbedPane that displays Log4J output in different tabs

Author:
Ole.Matzura

Constructor Summary
InspectorLog4JMonitor(javax.swing.JComponent content)
           
 
Method Summary
 void activate(Inspector inspector)
           
<T extends Inspector>
T
addInspector(T inspector)
           
 JLogList addLogArea(java.lang.String title, java.lang.String loggerName, boolean isDefault)
           
 void deactivate()
           
 javax.swing.JComponent getComponent()
           
 Inspector getCurrentInspector()
           
 JLogList getCurrentLog()
           
 int getDividerLocation()
           
 Inspector getInspector(java.lang.String inspectorId)
           
 Inspector getInspectorByTitle(java.lang.String title)
           
 java.util.List<Inspector> getInspectors()
           
 JLogList getLogArea(java.lang.String title)
           
 boolean hasLogArea(java.lang.String loggerName)
           
 void logEvent(java.lang.Object msg)
           
 void release()
           
 void removeInspector(Inspector inspector)
           
 boolean removeLogArea(java.lang.String loggerName)
           
 void setContentComponent(javax.swing.JComponent component)
           
 void setCurrentInspector(java.lang.String s)
           
 void setCurrentLog(JLogList lastLog)
           
 void setDefaultDividerLocation(float v)
           
 void setDividerLocation(int i)
           
 void setInspectorVisible(Inspector inspector, boolean b)
           
 void setResetDividerLocation()
           
 void setResizeWeight(double v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InspectorLog4JMonitor

public InspectorLog4JMonitor(javax.swing.JComponent content)
Method Detail

addLogArea

public JLogList addLogArea(java.lang.String title,
                           java.lang.String loggerName,
                           boolean isDefault)
Specified by:
addLogArea in interface Log4JMonitor

logEvent

public void logEvent(java.lang.Object msg)
Specified by:
logEvent in interface Log4JMonitor

getLogArea

public JLogList getLogArea(java.lang.String title)
Specified by:
getLogArea in interface Log4JMonitor

hasLogArea

public boolean hasLogArea(java.lang.String loggerName)
Specified by:
hasLogArea in interface Log4JMonitor

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface JInspectorPanel
Specified by:
getComponent in interface Log4JMonitor

getCurrentInspector

public Inspector getCurrentInspector()
Specified by:
getCurrentInspector in interface JInspectorPanel

getInspectorByTitle

public Inspector getInspectorByTitle(java.lang.String title)
Specified by:
getInspectorByTitle in interface JInspectorPanel

getInspectors

public java.util.List<Inspector> getInspectors()
Specified by:
getInspectors in interface JInspectorPanel

setCurrentInspector

public void setCurrentInspector(java.lang.String s)
Specified by:
setCurrentInspector in interface JInspectorPanel

setDefaultDividerLocation

public void setDefaultDividerLocation(float v)
Specified by:
setDefaultDividerLocation in interface JInspectorPanel

setDividerLocation

public void setDividerLocation(int i)
Specified by:
setDividerLocation in interface JInspectorPanel

setResizeWeight

public void setResizeWeight(double v)
Specified by:
setResizeWeight in interface JInspectorPanel

setCurrentLog

public void setCurrentLog(JLogList lastLog)
Specified by:
setCurrentLog in interface Log4JMonitor

activate

public void activate(Inspector inspector)
Specified by:
activate in interface JInspectorPanel

addInspector

public <T extends Inspector> T addInspector(T inspector)
Specified by:
addInspector in interface JInspectorPanel

deactivate

public void deactivate()
Specified by:
deactivate in interface JInspectorPanel

removeInspector

public void removeInspector(Inspector inspector)
Specified by:
removeInspector in interface JInspectorPanel

getCurrentLog

public JLogList getCurrentLog()
Specified by:
getCurrentLog in interface Log4JMonitor

removeLogArea

public boolean removeLogArea(java.lang.String loggerName)
Specified by:
removeLogArea in interface Log4JMonitor

getDividerLocation

public int getDividerLocation()
Specified by:
getDividerLocation in interface JInspectorPanel

setContentComponent

public void setContentComponent(javax.swing.JComponent component)
Specified by:
setContentComponent in interface JInspectorPanel

release

public void release()
Specified by:
release in interface JInspectorPanel

setResetDividerLocation

public void setResetDividerLocation()
Specified by:
setResetDividerLocation in interface JInspectorPanel

setInspectorVisible

public void setInspectorVisible(Inspector inspector,
                                boolean b)
Specified by:
setInspectorVisible in interface JInspectorPanel

getInspector

public Inspector getInspector(java.lang.String inspectorId)
Specified by:
getInspector in interface JInspectorPanel


Copyright © 2005-2010 eviware.com. All Rights Reserved.