|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultTreeModel org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel
public class CategoryExplorerModel
CategoryExplorerModel
Field Summary | |
---|---|
protected ActionEvent |
_event
|
protected ActionListener |
_listener
|
protected boolean |
_renderFatal
|
Fields inherited from class javax.swing.tree.DefaultTreeModel |
---|
asksAllowsChildren, listenerList, root |
Constructor Summary | |
---|---|
CategoryExplorerModel(CategoryNode node)
|
Method Summary | |
---|---|
void |
addActionListener(ActionListener l)
|
CategoryNode |
addCategory(CategoryPath path)
Method altered by Richard Hurst such that it returns the CategoryNode corresponding to the CategoryPath |
void |
addLogRecord(LogRecord lr)
|
CategoryNode |
getCategoryNode(CategoryPath path)
returns null if no CategoryNode exists. |
CategoryNode |
getCategoryNode(String category)
|
CategoryNode |
getRootCategoryNode()
|
TreePath |
getTreePathToRoot(CategoryNode node)
Returns the CategoryPath to the specified CategoryNode |
boolean |
isCategoryPathActive(CategoryPath path)
|
protected void |
notifyActionListeners()
|
protected void |
refresh(CategoryNode node)
Fires a nodechanged event on the SwingThread. |
void |
removeActionListener(ActionListener l)
|
void |
resetAllNodeCounts()
|
void |
setDescendantSelection(CategoryNode node,
boolean selected)
|
void |
setParentSelection(CategoryNode node,
boolean selected)
|
void |
update(CategoryNode node,
boolean selected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean _renderFatal
protected ActionListener _listener
protected ActionEvent _event
Constructor Detail |
---|
public CategoryExplorerModel(CategoryNode node)
Method Detail |
---|
public void addLogRecord(LogRecord lr)
public CategoryNode getRootCategoryNode()
public CategoryNode getCategoryNode(String category)
public CategoryNode getCategoryNode(CategoryPath path)
public boolean isCategoryPathActive(CategoryPath path)
public CategoryNode addCategory(CategoryPath path)
Method altered by Richard Hurst such that it returns the CategoryNode corresponding to the CategoryPath
path
- category path.
public void update(CategoryNode node, boolean selected)
public void setDescendantSelection(CategoryNode node, boolean selected)
public void setParentSelection(CategoryNode node, boolean selected)
public void addActionListener(ActionListener l)
public void removeActionListener(ActionListener l)
public void resetAllNodeCounts()
public TreePath getTreePathToRoot(CategoryNode node)
Returns the CategoryPath to the specified CategoryNode
node
- The target CategoryNode
protected void notifyActionListeners()
protected void refresh(CategoryNode node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |