CheckBoxTree Enhancements

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

CheckBoxTree Enhancements

Postby jaredmac » Tue Sep 19, 2006 6:56 am

We wanted to replace our internal CheckBoxTree with JIDE's version, but just noticed that it does not support a mix of checkbox nodes and non-checkbox nodes.

This is something worth considering when you have a tree that contains, e.g., group title nodes with checkboxes underneath.

Also, the rendering of the mixed-state node on WinXP could be improved -- a mixed state checkbox in MSWord renders as a green square, rather than a green check with a gray background.

Thanks,
Jared
jaredmac
 
Posts: 216
Joined: Wed Mar 08, 2006 12:42 pm

Postby jaredmac » Tue Sep 19, 2006 6:59 am

Whoops, spoke a bit too soon. Looks like overriding the method
Code: Select all
isCheckBoxVisible(TreePath path)
can accomplish what we want to do.
jaredmac
 
Posts: 216
Joined: Wed Mar 08, 2006 12:42 pm

Postby JIDE Support » Tue Sep 19, 2006 8:03 am

Yes, that's the method you can use.

For the mixed-state check box, you are right. We simple used a disabled check box and renderer it as the 3rd state. Ideally we should make a special UI just for this. However then we need to do it for every L&F which is a little too much. Anyway, we will do it in the future.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 98 guests