org.gnomekr.potron.web.tree
Class AbstractNavigationNode<T extends Serializable>

java.lang.Object
  extended by org.gnomekr.potron.web.tree.AbstractNavigationNode<T>
All Implemented Interfaces:
Serializable, org.apache.myfaces.custom.tree2.TreeNode
Direct Known Subclasses:
ProjectNode, TemplateNode, TranslationNode

public abstract class AbstractNavigationNode<T extends Serializable>
extends Object
implements org.apache.myfaces.custom.tree2.TreeNode

AbstractNavigationNode.java

Version:
$Revision 1.1 $ $Date: 2005/07/12 10:02:53 $
Author:
Xavier Cho
See Also:
Serialized Form

Constructor Summary
AbstractNavigationNode()
           
AbstractNavigationNode(T userObject)
           
 
Method Summary
protected abstract  List<org.apache.myfaces.custom.tree2.TreeNode> createChildNodes()
           
 int getChildCount()
           
 List<org.apache.myfaces.custom.tree2.TreeNode> getChildren()
           
 String getDescription()
           
 String getIdentifier()
           
 String getType()
           
 T getUserObject()
           
 boolean isLeaf()
           
 void setDescription(String description)
           
 void setIdentifier(String identifier)
           
 void setLeaf(boolean leaf)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNavigationNode

public AbstractNavigationNode()

AbstractNavigationNode

public AbstractNavigationNode(T userObject)
Method Detail

createChildNodes

protected abstract List<org.apache.myfaces.custom.tree2.TreeNode> createChildNodes()

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.isLeaf()

setLeaf

public void setLeaf(boolean leaf)
Specified by:
setLeaf in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.setLeaf(boolean)

getChildren

public List<org.apache.myfaces.custom.tree2.TreeNode> getChildren()
Specified by:
getChildren in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.getChildren()

getType

public String getType()
Specified by:
getType in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.getType()

setType

public void setType(String type)
Specified by:
setType in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.setType(java.lang.String)

getDescription

public String getDescription()
Specified by:
getDescription in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.getDescription()

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.setDescription(java.lang.String)

setIdentifier

public void setIdentifier(String identifier)
Specified by:
setIdentifier in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.setIdentifier(java.lang.String)

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.getIdentifier()

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface org.apache.myfaces.custom.tree2.TreeNode
See Also:
TreeNode.getChildCount()

getUserObject

public T getUserObject()


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.