Treeitem.setOpen/isOpen vs. Treemodel.addOpenPath(int[])

asked 2015-01-20 16:33:10 +0800

avidD gravatar image avidD
166 2

Hi, we have very large trees (about 100k nodes / paths) with multiple columns (up to ~20 or more). In these trees we get into serious performance troubles when using the "naive" tree model. We therefore implemented our own tree model(s) that add and remove nodes as their parents are expanded or collapsed. However, what puzzles me all the time is the question "What is the difference between setOpen and addOpenPath?" IMHO the javadoc is not very helpful. What I need is a concise formal definition of what these are and what to call when, no generic description like "adds the path to the open" (whatever that may be).

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2015-01-20 16:33:10 +0800

Seen: 13 times

Last updated: Jan 20 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More