|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.wcf.tree.AbstractTreeModel com.tonbeller.jpivot.navigator.member.TreeModelAdapter
public class TreeModelAdapter
maps the MemberTree table extension to a wcf tree model
Field Summary |
---|
Fields inherited from interface com.tonbeller.wcf.tree.TreeModel |
---|
EMPTY_MODEL |
Constructor Summary | |
---|---|
TreeModelAdapter(Hierarchy[] hiers,
MemberTree tree,
java.util.Locale locale)
Constructor for TreeModelAdapter. |
|
TreeModelAdapter(Hierarchy hier,
MemberTree tree,
java.util.Locale locale)
Constructor for TreeModelAdapter. |
Method Summary | |
---|---|
void |
fireModelChanged()
|
java.lang.Object[] |
getChildren(java.lang.Object node)
|
Level |
getNoChildrenLevel()
members from this level will pretend to have no children |
com.tonbeller.jpivot.navigator.member.TreeModelAdapter.OverflowListener |
getOverflowListener()
|
java.lang.Object |
getParent(java.lang.Object node)
|
java.lang.Object[] |
getRoots()
if one hierarchy return its root members. if multiple, return the hierarchies |
boolean |
hasChildren(java.lang.Object node)
|
boolean |
isShowSingleHierarchyNode()
|
void |
modelChanged()
|
void |
setNoChildrenLevel(Level level)
members from this level will pretend to have no children |
void |
setOverflowListener(com.tonbeller.jpivot.navigator.member.TreeModelAdapter.OverflowListener overflowListener)
|
void |
setShowSingleHierarchyNode(boolean showSingleHierarchyNode)
|
Methods inherited from class com.tonbeller.wcf.tree.AbstractTreeModel |
---|
addTreeModelChangeListener, fireModelChanged, fireModelChanged, removeTreeModelChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tonbeller.wcf.tree.TreeModel |
---|
addTreeModelChangeListener, fireModelChanged, removeTreeModelChangeListener |
Constructor Detail |
---|
public TreeModelAdapter(Hierarchy hier, MemberTree tree, java.util.Locale locale)
public TreeModelAdapter(Hierarchy[] hiers, MemberTree tree, java.util.Locale locale)
Method Detail |
---|
public java.lang.Object[] getRoots()
getRoots
in interface com.tonbeller.wcf.tree.TreeModel
public boolean hasChildren(java.lang.Object node)
hasChildren
in interface com.tonbeller.wcf.tree.TreeModel
public java.lang.Object[] getChildren(java.lang.Object node)
getChildren
in interface com.tonbeller.wcf.tree.TreeModel
public java.lang.Object getParent(java.lang.Object node)
getParent
in interface com.tonbeller.wcf.tree.TreeModel
TreeModel.getParent(Object)
public void fireModelChanged()
fireModelChanged
in class com.tonbeller.wcf.tree.AbstractTreeModel
public Level getNoChildrenLevel()
public void setNoChildrenLevel(Level level)
public void modelChanged()
public com.tonbeller.jpivot.navigator.member.TreeModelAdapter.OverflowListener getOverflowListener()
public void setOverflowListener(com.tonbeller.jpivot.navigator.member.TreeModelAdapter.OverflowListener overflowListener)
public boolean isShowSingleHierarchyNode()
public void setShowSingleHierarchyNode(boolean showSingleHierarchyNode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |