TDM Framework

The Tabular Data Manipulation (TDM) is a set of cooperating classes and interfaces that makes up a unified architecture for tabular data representation manipulation without altering the data itself. It includes classes for performing two kinds of manipulations: data sorting and data filtering. The TDM is adopted particularly to the Java Swing's TableModel so it can be used in application that use Swing's JTable for its tabular data representation.

Download

Overview

The TDM consist of:

  • Core TDM interfaces - Represent core abstractions and form the basis of the framework.
  • A manipulatable model interface - An abstraction which represents tabular data that can be modified from outside by data manipulators.
  • A data manipulator interface - A tabular data manipulator can enforce a manipulatable model to change the representation of its data(e.g. so it can appear to sorted).
  • A manipulation criterion interface - A manipulation criterion can be used by a tabular data manipulator both to get additional parameters required by the manipulation algorithm and to support decisions making concerning the tabular data elements being considered.
  • Data manipulators general purpose implementations - Primary implementations of a data sorter and a data filter.
  • Abstract Implementations - Partial implementations of the manipulatable model interfaces, data manipulator interfaces and manipulation criterion interface to facilitate custom implementations.
  • A Java Swing's TableModel adaptation - Class that enable using TDM with the Swing's JTable. Infrastructure - Interfaces and classes that provide essential support for the TDM interfaces and classes (e.g. manipulatable model event propagation support).

There are three core interfaces that model three main TDM abstractions: a manipulatable model, a data manipulator and a manipulation criterion. The most basic interface is ManipulatableModel - an abstraction which represents tabular data model that can be modified from outside by tabular data manipulators. Tabular data manipulators can enforce a manipulatable model to change the representation of its data(e.g. so it can appear to sorted) and are represented by DataManipulator interface. The third core interface is ManipulationCriterion that represents a manipulation criterion. A manipulation criterion can be used by tabular data manipulators both to get additional parameters required by the manipulation algorithm and to support the decisions making concerning the tabular data elements being considered during a manipulation.

License

The TDM is distributed as open source software under the Artistic License. If you have further questions, you may want to refer to the software license pages at the Free Software Foundation website.