Download

TableFilter is open source, under MIT license. Its latest version, 4.1.2, has been released the 23rd March 2011. The changelog is available below

License

TableFilter is available under the MIT license.

Copyright (c) 2007 Luis M. Pena  - lu@coderazzi.net

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

The source distribution contains, in addition to the library's source code, some tests. These tests make usage of a general icon library (FamFamFam), and, in case of the Java 1.5 version, of a open source class called TableSorter.java, which retains the original copyright.

As of version 1.2.0, there are also icons in the library, to facilitate its usage under Gui editors. These icons come from the FamFamFam silk icon library, licensed under a Creative Commons Attribution 2.5 License.

History

Version 4.1.2 ( 23rd March 2011 )

Solved bug where enabled adaptive choices cause ArrayIndexOutOfBoundsException when table model is changed: see issue.

Solved bug on slow progress with instant filtering + adaptive choices, resulting in performance degradation: see issue.

Solved bug where wildcard expressions, if case insensitive, fail on Unicode characters: see issue.

Collators comparisons have been removed from the library: collators were never used on regular expressions or wildcard expressions, resulting in inconsistent behaviour.

Added document on library's performance.

Version 4.1.1 ( 15th March 2011 )

Solved bug: previous version would fail to set the content on a non editable filter editor if invoked before the editor' choices were made available.

Source reformatted.

Version 4.1.0 ( 14th March 2011 )

Instant filtering: filtering happens as the user inputs text; implemented after requirement.

Auto completion on editable filter editors: So far was only provided, and required, for non editable editors. Now, it can be setup (it is by default) on editable editors.

Warning feedback color: added special color to signal that the filters are hiding the table's rows. This functionality is not available on the Java 5 version.

Added method setFilterOnUpdates to trigger or not filter updates when the underlying table model changes. Not available on the Java5 version.

Possibility to define the height of a filter row (by delta over the default value), functionality implemented after requirement.

Solved bug where the model is added after attaching the filter header: see issue.

Solved bug where autochoices on booleans or enums would be incomplete

Solved bug on adaptive choices: updating the table would not correctly setup the choices of editors with filters

Version 4.0.0 ( 16th February 2011 )

The version 4.x presents, mostly, the same GUI as on version 3.1. However, there are many changes under the hood, and the library API presents many incompatibilities with respect to previous versions.

Although most changes relate to new functionality, the old API is also impacted. The most basic changes breaking compatibility are:

In addition to the removal of some bugs, the changes on 4.x have focused on the choices shown to the user on each filter editor:

The changes have also tried to make the whole API more consistent and homogeneous. For example, the previous class FilterTextParser and its interface have been replaced by the classes ParserModel and Parser, together with its own interfaces, and it is this ParserModel where most generic parsing structures must be set, including case ignoring, string formatters and comparators.

Version 3.1.2 ( 24th May 2010 )

Version 3.1.1 ( 13th May 2010 )

Version 3.1.0 ( 10th May 2010 )

Version 3.0.1 ( 5th May 2010 )

Version 3.0.0 ( 28th April 2010 )

Version 2.2.0 ( 12th April 2010 )

Version 2.1.2 ( 26th January 2010 )

Version 2.0.1 ( 13th November 2009 )

Version 2.0.0 ( 1st September 2009 )

Version 1.5.0 ( 7th August 2009 )

Version 1.4.1 ( 4th July 2009 )

Version 1.4.0 ( 10th June 2009 )

Version 1.3.0 ( 17th February 2009 )

Support, issues, forums

Issues, or bugs, can be reported at the Google Code host site.

Discussions can be carried at the associated Google group forum.

Would you require commercial support on this library, or specific customizations, please contact lu@coderazzi.net