public class CategoryNode extends DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
protected boolean |
_hasFatalChildren |
protected boolean |
_hasFatalRecords |
protected int |
_numberOfContainedRecords |
protected int |
_numberOfRecordsFromChildren |
protected boolean |
_selected |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
CategoryNode(String title) |
Modifier and Type | Method and Description |
---|---|
void |
addRecord() |
protected void |
addRecordFromChild()
Passes up the addition from child to parent
|
protected void |
addRecordToParent() |
boolean |
equals(Object obj) |
int |
getNumberOfContainedRecords() |
protected int |
getNumberOfRecordsFromChildren() |
String |
getTitle() |
protected int |
getTotalNumberOfRecords() |
boolean |
hasFatalChildren() |
boolean |
hasFatalRecords() |
int |
hashCode() |
boolean |
isSelected() |
void |
resetNumberOfContainedRecords() |
void |
setAllDescendantsDeSelected()
Deprecated.
|
void |
setAllDescendantsSelected()
Deprecated.
|
void |
setHasFatalChildren(boolean flag) |
void |
setHasFatalRecords(boolean flag) |
void |
setSelected(boolean s) |
String |
toString() |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
protected boolean _selected
protected int _numberOfContainedRecords
protected int _numberOfRecordsFromChildren
protected boolean _hasFatalChildren
protected boolean _hasFatalRecords
public CategoryNode(String title)
public String getTitle()
public void setSelected(boolean s)
public boolean isSelected()
public void setAllDescendantsSelected()
public void setAllDescendantsDeSelected()
public String toString()
toString
in class DefaultMutableTreeNode
public void addRecord()
public int getNumberOfContainedRecords()
public void resetNumberOfContainedRecords()
public boolean hasFatalRecords()
public boolean hasFatalChildren()
public void setHasFatalRecords(boolean flag)
public void setHasFatalChildren(boolean flag)
protected int getTotalNumberOfRecords()
protected void addRecordFromChild()
protected int getNumberOfRecordsFromChildren()
protected void addRecordToParent()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.