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 |
private static long |
serialVersionUID |
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
private static final long serialVersionUID
protected boolean _selected
protected int _numberOfContainedRecords
protected int _numberOfRecordsFromChildren
protected boolean _hasFatalChildren
protected boolean _hasFatalRecords
public CategoryNode(String title)
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()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses