google-code-export / macwidgets

Automatically exported from code.google.com/p/macwidgets
1 stars 0 forks source link

SourceList category expansion #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Maybe I missed this, but is it possible to enable/disable the category 
expansion widget in a 
SourceList?  If disabled, then all items in the category would be always shown, 
and no expand 
widget would be drawn.  For example, the "LIBRARY" or "STORE" categories in 
iTunes 8.  Fantastic 
components, thanks!

Original issue reported on code.google.com by cmhaa...@gmail.com on 18 Jun 2009 at 6:03

GoogleCodeExporter commented 9 years ago
Hi cmhaagen,

There isn't currently a way to do this. If you know of a way to do this with a 
generic JTree, that would be much 
appreciated.

-Ken

Original comment by kenneth....@gmail.com on 18 Jun 2009 at 11:56

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 18 Jun 2009 at 11:57

GoogleCodeExporter commented 9 years ago
Can't you use JTree.setShowsRootHandles(boolean) for this?

Original comment by dlemmermann@gmail.com on 22 Jun 2009 at 6:56

GoogleCodeExporter commented 9 years ago
I've added the ability to make individual categories not collapsable.

Original comment by kenneth....@gmail.com on 23 Jul 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Awesome!  Thanks...

Original comment by cmhaa...@gmail.com on 24 Jul 2009 at 7:20