Mael Caldas wrote:
> If I implement the decorator pattern by myself, how can I let the row
> only
> on the last position, even if the user change the sorter collumn?
You're right. If you need sorting, you can't do it this way.
You'll probably have to create your own IBasicTableModel
and make it a
If I implement the decorator pattern by myself, how can I let the row only
on the last position, even if the user change the sorter collumn? Do you
have any SumDecorator already done?
Thanks!
Mael Caldas
On 9/11/06, Mael Caldas <[EMAIL PROTECTED]> wrote:
SumDecorator, decorator pattern? I d
SumDecorator, decorator pattern? I didn't see anything about that in any
documentation... Can you give-me some example or a link?
Thank you,
Mael Caldas
On 9/1/06, andyhot <[EMAIL PROTECTED]> wrote:
cotrib:Table can't do anything by itself
but I'd use the decorator pattern...
public Collect
cotrib:Table can't do anything by itself
but I'd use the decorator pattern...
public Collection getData()
{ return new SumDecorator( getRealData() ); }
Mael Caldas wrote:
> Hi,
>
> I'm using the contrib Table component, iterating over a Collection of Row
> Objects, and setting the collumns value