public class InspectorLog4JMonitor extends Object implements JInspectorPanel, Log4JMonitor
| Constructor and Description | 
|---|
| InspectorLog4JMonitor(JComponent content) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activate(Inspector inspector) | 
| <T extends Inspector> | addInspector(T inspector) | 
| JLogList | addLogArea(String title,
          String loggerName,
          boolean isDefault) | 
| void | deactivate() | 
| JComponent | getComponent() | 
| Inspector | getCurrentInspector() | 
| JLogList | getCurrentLog() | 
| int | getDividerLocation() | 
| Inspector | getInspector(String inspectorId) | 
| Inspector | getInspectorByTitle(String title) | 
| List<Inspector> | getInspectors() | 
| JLogList | getLogArea(String title) | 
| boolean | hasLogArea(String loggerName) | 
| void | logEvent(Object msg) | 
| void | release() | 
| void | removeInspector(Inspector inspector) | 
| boolean | removeLogArea(String loggerName) | 
| void | setContentComponent(JComponent component) | 
| void | setCurrentInspector(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) | 
public InspectorLog4JMonitor(JComponent content)
public JLogList addLogArea(String title, String loggerName, boolean isDefault)
addLogArea in interface Log4JMonitorpublic void logEvent(Object msg)
logEvent in interface Log4JMonitorpublic JLogList getLogArea(String title)
getLogArea in interface Log4JMonitorpublic boolean hasLogArea(String loggerName)
hasLogArea in interface Log4JMonitorpublic JComponent getComponent()
getComponent in interface JInspectorPanelgetComponent in interface Log4JMonitorpublic Inspector getCurrentInspector()
getCurrentInspector in interface JInspectorPanelpublic Inspector getInspectorByTitle(String title)
getInspectorByTitle in interface JInspectorPanelpublic List<Inspector> getInspectors()
getInspectors in interface JInspectorPanelpublic void setCurrentInspector(String s)
setCurrentInspector in interface JInspectorPanelpublic void setDefaultDividerLocation(float v)
setDefaultDividerLocation in interface JInspectorPanelpublic void setDividerLocation(int i)
setDividerLocation in interface JInspectorPanelpublic void setResizeWeight(double v)
setResizeWeight in interface JInspectorPanelpublic void setCurrentLog(JLogList lastLog)
setCurrentLog in interface Log4JMonitorpublic void activate(Inspector inspector)
activate in interface JInspectorPanelpublic <T extends Inspector> T addInspector(T inspector)
addInspector in interface JInspectorPanelpublic void deactivate()
deactivate in interface JInspectorPanelpublic void removeInspector(Inspector inspector)
removeInspector in interface JInspectorPanelpublic JLogList getCurrentLog()
getCurrentLog in interface Log4JMonitorpublic boolean removeLogArea(String loggerName)
removeLogArea in interface Log4JMonitorpublic int getDividerLocation()
getDividerLocation in interface JInspectorPanelpublic void setContentComponent(JComponent component)
setContentComponent in interface JInspectorPanelpublic void release()
release in interface JInspectorPanelpublic void setResetDividerLocation()
setResetDividerLocation in interface JInspectorPanelpublic void setInspectorVisible(Inspector inspector, boolean b)
setInspectorVisible in interface JInspectorPanelpublic Inspector getInspector(String inspectorId)
getInspector in interface JInspectorPanelCopyright © 2019. All Rights Reserved.