Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » lf5 » viewer » categoryexplorer » [javadoc | source]
org.apache.log4j.lf5.viewer.categoryexplorer
public class: CategoryExplorerModel [javadoc | source]
java.lang.Object
   javax.swing.tree.DefaultTreeModel
      org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel

All Implemented Interfaces:
    TreeModel, Serializable

CategoryExplorerModel
Field Summary
protected  boolean _renderFatal     
protected  ActionListener _listener     
protected  ActionEvent _event     
Constructor:
 public CategoryExplorerModel(CategoryNode node) 
Method from org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel Summary:
addActionListener,   addCategory,   addLogRecord,   getCategoryNode,   getCategoryNode,   getRootCategoryNode,   getTreePathToRoot,   isCategoryPathActive,   notifyActionListeners,   refresh,   removeActionListener,   resetAllNodeCounts,   setDescendantSelection,   setParentSelection,   update
Methods from javax.swing.tree.DefaultTreeModel:
addTreeModelListener,   asksAllowsChildren,   getChild,   getChildCount,   getIndexOfChild,   getListeners,   getPathToRoot,   getRoot,   getTreeModelListeners,   insertNodeInto,   isLeaf,   nodeChanged,   nodeStructureChanged,   nodesChanged,   nodesWereInserted,   nodesWereRemoved,   reload,   reload,   removeNodeFromParent,   removeTreeModelListener,   setAsksAllowsChildren,   setRoot,   valueForPathChanged
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel Detail:
 public synchronized  void addActionListener(ActionListener l) 
 public CategoryNode addCategory(CategoryPath path) 

    Method altered by Richard Hurst such that it returns the CategoryNode corresponding to the CategoryPath

 public  void addLogRecord(LogRecord lr) 
 public CategoryNode getCategoryNode(String category) 
 public CategoryNode getCategoryNode(CategoryPath path) 
    returns null if no CategoryNode exists.
 public CategoryNode getRootCategoryNode() 
 public TreePath getTreePathToRoot(CategoryNode node) 

    Returns the CategoryPath to the specified CategoryNode

 public boolean isCategoryPathActive(CategoryPath path) 
 protected  void notifyActionListeners() 
 protected  void refresh(CategoryNode node) 
    Fires a nodechanged event on the SwingThread.
 public synchronized  void removeActionListener(ActionListener l) 
 public  void resetAllNodeCounts() 
 public  void setDescendantSelection(CategoryNode node,
    boolean selected) 
 public  void setParentSelection(CategoryNode node,
    boolean selected) 
 public  void update(CategoryNode node,
    boolean selected)