org.filteredpush.client.model
Class AnnotationReponseNode

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addResponse(AnnotationReponseNode response)
           
 java.util.Enumeration children()
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getId()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 java.lang.String getName()
           
 javax.swing.tree.TreeNode getParent()
           
 boolean isLeaf()
           
 void setParent(AnnotationReponseNode parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationReponseNode

public AnnotationReponseNode(java.lang.String uri,
                             java.lang.String summary,
                             java.lang.String annotator,
                             java.lang.String annotateDate)
Method Detail

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