NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Disable lazy loading for Node Children in BeanTreeView

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
chaddaniels



Joined: 16 Oct 2008
Posts: 37

PostPosted: Thu Oct 23, 2008 12:08 am    Post subject: Disable lazy loading for Node Children in BeanTreeView Reply with quote

I know that the BeanTreeView implements the idea of lazy loading for all Node Children because there can potentially be a huge performance hit for large tree structures. However, this leads to each Node showing an expand-box unless it uses Children.LEAF as its Children object. The real problem is that this expand-box is shown whether or not the Node actually has any children. To me, and some users of my application, this seems misleading because it seems like the expand handle should be shown only when children exist. I know this topic is addressed here but it doesn't offer any solution. So, my question is: Is there a way to disable the lazy loading of children for a BeanTreeView so that all Nodes are loaded when the tree is created?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo