|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode de.matthias_burbach.deputy.swing.BaseMutableTreeNode de.matthias_burbach.deputy.swing.RuleSetTreeNode
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
RuleSetTreeNode(Project project,
javax.swing.tree.DefaultTreeModel treeModel)
|
Method Summary | |
void |
addedRule(Rule addedRule,
int index)
Is fired when a rule has been added to the rule set. |
void |
changedDefaultRule()
Is fired when the default rule has been changed. |
protected void |
initChildren()
Initializes the children nodes of this node. |
void |
removedRule(Rule removedRule)
Is fired when a rule has been removed from the rule set. |
java.lang.String |
toString()
|
Methods inherited from class de.matthias_burbach.deputy.swing.BaseMutableTreeNode |
childrenAreInitialized, getChildCount, getSuffix, isLeaf |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RuleSetTreeNode(Project project, javax.swing.tree.DefaultTreeModel treeModel)
project
- The top project whose rule set to display.treeModel
- The tree model to delegate change operations to.Method Detail |
protected void initChildren()
initChildren
in class BaseMutableTreeNode
public void addedRule(Rule addedRule, int index)
addedRule
in interface RuleSetChangeListener
addedRule
- The added rule.index
- The index of the added rule in the sorted list of rules of
the rule set.public void removedRule(Rule removedRule)
removedRule
in interface RuleSetChangeListener
removedRule
- The removed rule.public void changedDefaultRule()
changedDefaultRule
in interface RuleSetChangeListener
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |