|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.odell.glazedlists.swing.EventListJXTableSorting
public class EventListJXTableSorting
Sort a JXTable using SortedList.
| Extension: SwingX | |
| This Glazed Lists extension requires the third party library SwingX. | |
| Tested Version: | CVS Head, April 15, 2006 |
| Home page: | https://swingx.dev.java.net/ |
| License: | LGPL |
To prepare a JXTable to be sorted using a SortedList:
SortedList and EventTableModel that depends
on that SortedList.
JXTable using the EventTableModel as its model.
install(org.jdesktop.swingx.JXTable, ca.odell.glazedlists.SortedList) method to bind the
JXTable's headers to the SortedList's Comparator.
Note that your FilterPipeline will be changed as a consequence of
using EventListJXTableSorting. This is due to API limitations in
SwingX which will hopefully be eventually resolved. For this reason it is
recommended that you not use FilterPipeline with this class. Instead,
consider using FilterList for filtering your JXTable.
Since this class works with the SwingX project, it is likely to change as SwingX continues to evolve and mature. We will attempt to maintain source and binary compatibility as SwingX changes, but it is highly recommended that you test your table sorting each time you update your SwingX jar file.
| Method Summary | |
|---|---|
static EventListJXTableSorting |
install(JXTable table,
SortedList sortedList)
Install this EventListJXTableSorting to provide the sorting
behaviour for the specified JXTable. |
void |
uninstall()
Remove this EventListJXTableSorting from the JXTable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EventListJXTableSorting install(JXTable table, SortedList sortedList)
EventListJXTableSorting to provide the sorting
behaviour for the specified JXTable.
public void uninstall()
EventListJXTableSorting from the JXTable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||