Re: Using JXTreeTable, a first draft
| From:[jdnc-interest@masked-domain] |
| Sent on:Tue, 27 May 2008 09:52:18 PDT |
| In reply to:Re: Using JXTreeTable, a first draft sent on Tue, 27 May 2008 07:50:54 PDT by [jdnc-interest@masked-domain] |
> Actually mutability is set at various levels in the
> JXTable. This is the standard practice. As for the
> DefaultTreeTableModel, it respects the TreeTableNodes
> editibility. I guess this is more of a general issue
> with understanding JXTable? Would you agree?
>
True; I'm more speaking to my instincts as a coder, where when I set the columns to be editable and then still could not edit I was a bit surprised, and then used my debugger to find that the AbstractMutableTreeTableNode was hard coded to return false which I thought was odd. But really not such a big deal either way :0).
Speaking of editability, do you guys have any good ideas on a way to improve Editor customization? What you did with Renderers is great. One thing that is currently driving me a bit crazy is there doesn't seem to be an elegant way to set how editors format the data they display; for instance I am editing Floats which are almost always Integers and would like the editor to not display a ".0" at the end, but am at a bit of a loss as to how to do so without really hacking into the editor.
Don't know if you've had any thoughts on this...
Thanks again
--Alex
[Message sent by forum member 'alexkogon' (alexkogon)]
http://forums.java.net/jive/thread.jspa?messageID=276811
---------------------------------------------------------------------
To unsubscribe, e-mail: [jdnc-unsubscribe@masked-domain]
For additional commands, e-mail: [jdnc-help@masked-domain]
Other messages in this topic
| Sender | Date sent | Subject |
| Kleopatra [fastegal@masked-domain] | Wed, 11 Jun 2008 10:06:00 +0200 | Re: Using JXTreeTable, a first draft |
| Kleopatra [fastegal@masked-domain] | Wed, 11 Jun 2008 09:55:03 +0200 | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Tue, 27 May 2008 11:56:52 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Tue, 27 May 2008 07:50:54 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Tue, 27 May 2008 06:36:30 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Wed, 14 May 2008 05:59:21 PDT | Re: Using JXTreeTable, a first draft |
| Kleopatra [fastegal@masked-domain] | Tue, 06 May 2008 11:51:59 +0200 | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Fri, 02 May 2008 04:42:52 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Wed, 30 Apr 2008 08:50:54 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Wed, 30 Apr 2008 08:42:20 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Wed, 30 Apr 2008 05:33:32 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Wed, 30 Apr 2008 05:17:27 PDT | Re: Using JXTreeTable, a first draft |
| [jdnc-interest@masked-domain] | Fri, 25 Apr 2008 10:14:08 PDT | Using JXTreeTable, a first draft |