edu.stanford.smi.protegex.owl.ui.clsproperties
Class NewRestrictionTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byedu.stanford.smi.protegex.owl.ui.clsproperties.RestrictionTreeNode
          extended byedu.stanford.smi.protegex.owl.ui.clsproperties.NewRestrictionTreeNode
All Implemented Interfaces:
Cloneable, edu.stanford.smi.protege.util.Disposable, MutableTreeNode, Serializable, TreeNode

public class NewRestrictionTreeNode
extends RestrictionTreeNode

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private  edu.stanford.smi.protege.model.Cls metaCls
           
private  PropertyRestrictionsTree tree
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
NewRestrictionTreeNode(edu.stanford.smi.protege.model.Cls metaCls, PropertyRestrictionsTree tree)
           
 
Method Summary
 void checkExpression(String text)
           
 String getFillerText()
           
 Icon getIcon()
           
 RDFSClass getInheritedFromClass()
           
 char getOperator()
           
 edu.stanford.smi.protege.model.Cls getRestrictionMetaCls()
           
 boolean isInherited()
           
 void setUserObject(Object userObject)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.clsproperties.RestrictionTreeNode
dispose, getOperatorName, getParentNode
 
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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metaCls

private edu.stanford.smi.protege.model.Cls metaCls

tree

private PropertyRestrictionsTree tree
Constructor Detail

NewRestrictionTreeNode

public NewRestrictionTreeNode(edu.stanford.smi.protege.model.Cls metaCls,
                              PropertyRestrictionsTree tree)
Method Detail

checkExpression

public void checkExpression(String text)
                     throws Throwable
Specified by:
checkExpression in class RestrictionTreeNode
Throws:
Throwable

getFillerText

public String getFillerText()
Specified by:
getFillerText in class RestrictionTreeNode

getIcon

public Icon getIcon()
Specified by:
getIcon in class RestrictionTreeNode

getOperator

public char getOperator()
Specified by:
getOperator in class RestrictionTreeNode

getRestrictionMetaCls

public edu.stanford.smi.protege.model.Cls getRestrictionMetaCls()
Specified by:
getRestrictionMetaCls in class RestrictionTreeNode

getInheritedFromClass

public RDFSClass getInheritedFromClass()
Specified by:
getInheritedFromClass in class RestrictionTreeNode

isInherited

public boolean isInherited()
Specified by:
isInherited in class RestrictionTreeNode

setUserObject

public void setUserObject(Object userObject)