de.matthias_burbach.deputy.swing
Class RuleTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byde.matthias_burbach.deputy.swing.RuleTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Direct Known Subclasses:
DeprecationRuleTreeNode, EnforcementRuleTreeNode, RemovalRuleTreeNode, ReplacementRuleTreeNode, RetentionRuleTreeNode

public abstract class RuleTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Is the base class of all rule tree nodes.

Author:
Matthias Burbach
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RuleTreeNode()
           
 
Method Summary
 int getChildCount()
          
abstract  Rule getRule()
           
 boolean 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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleTreeNode

public RuleTreeNode()
Method Detail

getChildCount

public int getChildCount()


isLeaf

public boolean isLeaf()


getRule

public abstract Rule getRule()
Returns:
The rule to display.


Copyright © 2005-2007 . All Rights Reserved.