er.ajax
Class AjaxTreeModel.WrapperNode
java.lang.Object
er.ajax.AjaxTreeModel.WrapperNode
- Enclosing class:
- AjaxTreeModel
public abstract static class AjaxTreeModel.WrapperNode
- extends java.lang.Object
WrapperNode is useful if your objects form a
graph instead of a tree and you want to maintain the unique
branching to a particular node as the user navigates through
the tree. isLeaf has a default implementation that you may
want to overried if you can provide a "smarter"
implementation.
- Author:
- mschrag
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AjaxTreeModel.WrapperNode
public AjaxTreeModel.WrapperNode(AjaxTreeModel.WrapperNode parent,
java.lang.Object userObject)
userObject
public java.lang.Object userObject()
_createChildNode
protected abstract AjaxTreeModel.WrapperNode _createChildNode(java.lang.Object userObject)
_childrenTreeNodes
protected abstract com.webobjects.foundation.NSArray _childrenTreeNodes()
childrenTreeNodes
public com.webobjects.foundation.NSArray childrenTreeNodes()
isLeaf
public boolean isLeaf()
parentTreeNode
public AjaxTreeModel.WrapperNode parentTreeNode()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2002 – 2007 Project Wonder.