|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Column Group DemoOk. I should have a cleaned up version that supports L&F AddOns and column reordering allowed, but only within the same group.
I have a couple of questions that I need some opinions on, however: 1) Should the ColumnGroupTableHeader be discarded and the ColumnGroup abilities just be added to the JXTableHeader component? That would simplify using the column groups if the developer needed it. They would just create the ColumnGroup, add columns to the group via addColumn(), then call addGroup() on the existing table header. No hassle of creating a custom TableHeader. 2) If the answer of 1 is No, then should the ColumnGroupTableHeader class extend JXTableHeader or JTableHeader? One thought is that the column group headers could be used within a normal JTable if it extends JTableHeader. Extending JXTableHeader would require the use of a JXTable. Opinions? Erik --- [Message sent by forum member 'evickroy' (Erik Vickroy)] http://www.javadesktop.org/forums/thread.jspa?messageID=109028 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group DemoLike Kleopatra, I enjoy talking to myself, so I'll answer these. ;)
> 1) Should the ColumnGroupTableHeader be discarded and > the ColumnGroup abilities just be added to the > JXTableHeader component? That would simplify using > the column groups if the developer needed it. They > would just create the ColumnGroup, add columns to the > group via addColumn(), then call addGroup() on the > existing table header. No hassle of creating a > custom TableHeader. No. Since the ColumnGroupTableHeader requires a custom UI delegate for painting the groups, it would remove the existing L&F support that JXTableHeader enjoys for free. Bad idea. > 2) If the answer of 1 is No, then should the > ColumnGroupTableHeader class extend JXTableHeader or > JTableHeader? One thought is that the column group > headers could be used within a normal JTable if it > extends JTableHeader. Extending JXTableHeader would > require the use of a JXTable. JXTableHeader for sure. If Scott wanted Column Group support in Swing, he would have added it to JTableHeader a long time ago! ;) BTW... can you change the name of the component? ColumnGroupTableHeader is too long and sounds funny. Maybe try JXGroupableTableHeader it's much shorter... well... at least the name fits better with the JX naming conventions! Erik --- [Message sent by forum member 'evickroy' (Erik Vickroy)] http://www.javadesktop.org/forums/thread.jspa?messageID=111057 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group Demojdnc-interest@... wrote:
> Like Kleopatra, I enjoy talking to myself, so I'll answer these. ;) <g> Jeanette PS: sorry for being so unresponsive - will look into your latest code soon. --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group Demo> PS: sorry for being so unresponsive - will look into
> your latest code soon. No worries. I'm still messing with it. I almost have the AddOn stuff working, so it's not fully functional yet. This demo just shows what the column groups look like with a L&F specific TableHeader like Liquid. I think it looks pretty good, but I'm biased. ;) Also, it demonstrates the code for not allowing a column that is grouped to be moved outside of it's group. This is done by a method similar to the columnAtPoint method except it looks at y as well as x. I think I can use the same method to prevent the column sorting kicking in if the group is clicked rather than the actual column. Maybe the columnAtPoint method in JXTableHeader can be modified to check y to determine the column index. Just a thought. I'll try and have the AddOn stuff wrapped up this week, so maybe it will be ready for a review of all features next week. Thanks! Erik --- [Message sent by forum member 'evickroy' (Erik Vickroy)] http://www.javadesktop.org/forums/thread.jspa?messageID=111485 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group DemoWe are using the groupable table header with a JXTable and encountered some problems. I entered an issue here :https://jdnc-incubator.dev.java.net/issues/show_bug.cgi?id=3
Is that the right place to report the issue? Bart [Message sent by forum member 'bartvdc' (bartvdc)] http://forums.java.net/jive/thread.jspa?messageID=156382 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group DemoBart,
Thanks for reporting the issue. I'll take a look later tonight and give you an update. Thanks Erik [Message sent by forum member 'evickroy' (evickroy)] http://forums.java.net/jive/thread.jspa?messageID=156515 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group DemoBart,
I have corrected the exception that you reported. The sources have been committed to cvs if you want to pull it down. I cannot account for the extra space at the right. I see some odd behavior in the Column Group Demo, but do not see it in what we have in production. I'll try and refresh the libraries that the demo uses and see if I can exaplin or correct it. Let me know if you experience any more problems with it. Erik [Message sent by forum member 'evickroy' (evickroy)] http://forums.java.net/jive/thread.jspa?messageID=157585 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
|
|
Re: Column Group Demo*Digs up another one from the past*
I'm looking for these example sources, or specifically this incubator cvs of which there's a lot of talk but no link. I'm trying to get some the grouped columns working but most examples that I've seen so far, indeed disable dragging of the columns. So, I was wondering whether JXTreeTable has gotten any of evick's code implemented yet, or whether somebody could link to the incubator where I might browse trough these sources? [Message sent by forum member 'bbrtki' (bbr_tki@...)] http://forums.java.net/jive/thread.jspa?messageID=370189 --------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@... For additional commands, e-mail: jdnc-help@... |
| Free embeddable forum powered by Nabble | Forum Help |