org.filteredpush.client.model
Class AnnotationReponseNode
java.lang.Object
org.filteredpush.client.model.AnnotationReponseNode
- All Implemented Interfaces:
- javax.swing.tree.TreeNode
public class AnnotationReponseNode
- extends java.lang.Object
- implements javax.swing.tree.TreeNode
This class models the the Annotation response node in the annotation response history tree.
- Author:
- Lei Dou
$Id$
|
Constructor Summary |
AnnotationReponseNode(java.lang.String uri,
java.lang.String summary,
java.lang.String annotator,
java.lang.String annotateDate)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationReponseNode
public AnnotationReponseNode(java.lang.String uri,
java.lang.String summary,
java.lang.String annotator,
java.lang.String annotateDate)
getId
public java.lang.String getId()
getName
public java.lang.String getName()
addResponse
public void addResponse(AnnotationReponseNode response)
setParent
public void setParent(AnnotationReponseNode parent)
getChildAt
public javax.swing.tree.TreeNode getChildAt(int childIndex)
- Specified by:
getChildAt in interface javax.swing.tree.TreeNode
getChildCount
public int getChildCount()
- Specified by:
getChildCount in interface javax.swing.tree.TreeNode
getParent
public javax.swing.tree.TreeNode getParent()
- Specified by:
getParent in interface javax.swing.tree.TreeNode
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
- Specified by:
getIndex in interface javax.swing.tree.TreeNode
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface javax.swing.tree.TreeNode
children
public java.util.Enumeration children()
- Specified by:
children in interface javax.swing.tree.TreeNode