Class ReceiversTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
org.apache.log4j.chainsaw.receivers.ReceiversTreeModel
- All Implemented Interfaces:
Serializable, EventListener, TreeModel, PluginListener
A TreeModel that encapsulates the details of all the Receivers and their
related information in the Log4j framework
- Author:
- Paul Smith <psmith@apache.org>
- See Also:
-
Field Summary
Fields inherited from class DefaultTreeModel
asksAllowsChildren, listenerList, root -
Method Summary
Modifier and TypeMethodDescriptionvoidNotification that plugin has started.voidNotification that plugin has stopped.final ReceiversTreeModelrefresh()Creates a new ReceiversTreeModel by querying the Log4j Plugin Repository and building up the required information.Methods inherited from class DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
-
Method Details
-
refresh
Creates a new ReceiversTreeModel by querying the Log4j Plugin Repository and building up the required information.- Returns:
- ReceiversTreeModel
-
pluginStarted
Description copied from interface:PluginListenerNotification that plugin has started.- Specified by:
pluginStartedin interfacePluginListener- Parameters:
e- event
-
pluginStopped
Description copied from interface:PluginListenerNotification that plugin has stopped.- Specified by:
pluginStoppedin interfacePluginListener- Parameters:
e- event
-