Provides implementations of standard Swing models, editors, and renderers that use Functors as a means of varying behaviour. The intent of this package is to allow for many common patterns of usage to be accomplished without having to create boilerplate classes.

For example, JTables are frequently used as little more than multi-column list controls: they are configured to be non-updatable, and are used solely as a source of selection events. They're used in this way because they are more powerful than JList controls in the range of display logic that they support. Configuring tables in this way usually requires a fairly boilerplate TableModel implementation.

GenericTableModel allows the programmer to build a TableModel from a list of data and a few functors. This is intended to eliminate (or at least greatly reduce) the boilerplate coding.

The classes in this package are at varying degrees of completeness, and more classes are expected to be added here in the coming releases. There will be classes for use with JTrees for example, and more Renderer and possibly Editor classes are likely.

Other Possible entries in this package