|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
FunctorProxy | Factory that builds Proxy objects that map Functors to event notification methods. |
FunctorProxy.FunctorInvocationHandler | The InvocationHandler for FunctorProxy instances. |
GenericAction | Action that invokes a functor given at construction. |
GenericActionListener | Listener that will execute a given functor on every action event. |
GenericCellEditor<T> | CellEditor that uses a pair of functors to parse/format a value. |
GenericItemListener | Listener that will execute a given functor on every item event. |
GenericListCellRenderer<T> | ListCellRenderer that passes the contents through a functor to render the contents, instead of calling toString() on the contents. |
GenericTableCellRenderer<T> | TableCellRenderer that passes the contents through a functor to render the contents, instead of calling toString() on the contents. |
GenericTableColumn<R,C> | Column class used in conjunction with GenericTableModel. |
GenericTableModel<T> | TableModel that uses a list of data for storage, and whose columns contain functors that read (and possibly write) properties of the objects in the list. |
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.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |