er.ajax
Class AjaxTreeModel.WrapperNode
java.lang.Object
er.ajax.AjaxTreeModel.WrapperNode
- Enclosing class:
- AjaxTreeModel
public abstract static class AjaxTreeModel.WrapperNode
- extends 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
AjaxTreeModel.WrapperNode
public AjaxTreeModel.WrapperNode(AjaxTreeModel.WrapperNode parent,
Object userObject)
userObject
public Object userObject()
_createChildNode
protected abstract AjaxTreeModel.WrapperNode _createChildNode(Object userObject)
_childrenTreeNodes
protected abstract NSArray _childrenTreeNodes()
childrenTreeNodes
public NSArray childrenTreeNodes()
isLeaf
public boolean isLeaf()
parentTreeNode
public AjaxTreeModel.WrapperNode parentTreeNode()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2002 – 2007 Project Wonder.