Package org.jdesktop.swing.data

Contains API used to process data in a client application, including data models and adapters, meta-data, validation, and type-conversion.

See:
          Description

Interface Summary
Converter Interface for defining objects which perform bi-directional conversion between string values and Java objects.
DataModel Abstract model interface for representing a record of named data fields.
Validator Interface for defining an object which performs validation checks on a value object to determine whether or not it is valid.
ValueChangeListener Listener interface which receives events when field values change within a DataModel object.
 

Class Summary
AbstractDataModel Abstract base class for implementing concrete DataModel implementations.
Converters Class containing the static converter registry and a set of static Converter classes for the common Java data types: java.lang.Boolean java.lang.String java.lang.Integer java.lang.Long java.lang.Short java.lang.Float java.lang.Double java.lang.Date org.jdesktop.swing.data.Link Converter instances are retrieved from the registry using the class as the key.
Converters.DateConverter Converter for java.util.Date.
DataLoader Base class for implementing objects which asynchronously load data from an input stream into a model, ensuring that the potentially lengthy operation does not block the user-interface.
DefaultDataModel Default data model implementation designed to hold a single record of field values.
DOMAdapter  
EnumeratedMetaData Class for representing meta-data for data fields which have a finite set of possible values.
HierarchicalDataMetaData  
JavaBeanDataModel A class that creates a collection of MetaData based BeanInfo PropertyDescriptors.
Link An object which represents an URL link in a table cell, tree cell or list item.
MetaData Class for representing the meta-data for an field in a data model.
NumberMetaData Class for representing meta-data for a numerical data field which is one of the following types: java.lang.Integer java.lang.Long java.lang.Short java.lang.Float java.lang.Double This meta-data class defines additional properties and edit constraints which are applicable to numerical values, such as minimum, maximum, whether or not the value is a currency, etc.
RowSetAdapter Placeholder for future RowSet TableModel adapter to enable easy connectivity to JDBC RowSet functionality available via JSR 114.
StringMetaData Class for representing meta-data for data fields which contain string values.
TabularDataModel Class used to represent a tabular data model which holds 2 dimensional data.
TabularDataModelAdapter Adapts a TabularDataModel object to the DataModel interface so that user-interface components other than a table can easily be bound to columns in the model.
TabularDataTextLoader Data loader class which reads data from a text input stream and loads it into a TabularDataModel instance.
ValueChangeEvent Event indicating the value of a named data field within a DataModel has changed.
 

Exception Summary
ConversionException Thrown by Converter instances when errors occur during value conversion.
 

Package org.jdesktop.swing.data Description

Contains API used to process data in a client application, including data models and adapters, meta-data, validation, and type-conversion.



Copyright 2004 by Sun Microsystems, Inc. All Rights Reserved.