|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.sf.cafebabe.gadget.classtree.ClassTreeNode
public class ClassTreeNode
This class represents the basic class for node of class tree
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
ClassTreeNode(java.lang.String text,
boolean allowsChildren)
Creates new class tree node |
Method Summary | |
---|---|
boolean |
isChanged()
Checks if this node was changed |
boolean |
isCorrect()
Checks if this node corresponds to a correct class file entry |
void |
setChanged(boolean isChanged)
Sets the flag of changes |
void |
setCorrect(boolean isCorrect)
Marks this node as correct |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
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, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassTreeNode(java.lang.String text, boolean allowsChildren)
text
- the text that will be displayed on the nodeallowsChildren
- specifies whether children are allowed
for this nodeMethod Detail |
---|
public boolean isChanged()
public void setChanged(boolean isChanged)
isChanged
- the flag of changespublic boolean isCorrect()
public void setCorrect(boolean isCorrect)
isCorrect
- the flag of correctness for this node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |