I have been using FilteredListModel for different lists I have on my forms. Now i want to add the glazedlists sorting and text filter to my lists.
Currently i am using ListListModel wrapped in FilterListModel, which is bound to my bean properties. I was wondering how would i do that.
Is it possible to do something like,
I am not if the binding still would work?
ListListModel listModel = (ListListModel)getBindingFactory().createBoundListModel(propertyName);
BasicEventList eventList = new BasicEventList(listModel.getItems());
EventListModel eventListModel = new EventListModel(eventList);
FilteredListModel filteredListModel = new EventListModel(eventListModel, myExistingConstraint);