Package com.eliad.model

This package contains the models needed by the grid component.

See:
          Description

Interface Summary
CollectionSpanModel This interface should be implemented by interfaces for which it is easiest to list their spans.
DirectSpanModel This interface should be implemented by SpanModels that do not need to maintain data structures to know where the spans are, but are able to answer a question about the presence of a span at some point in O(1) time, using some procedural rules.
ExtentCell This interface embodies the idea of the extension of a cell over the "following" cells, that is, cells to the right and to the bottom.
GridCellEditor This interface defines the method required from any object that would like to be an editor for cells or spans in a Component that can provide a GridContext like the JSmartGrid.
GridCellRenderer This interface defines the method required from any object that would like to be a renderer for cells or spans in a Component that can provide a GridContext such as the JSmartGrid.
GridContext GridContext defines the interface for an object that gives information about the cell or span when a renderer or an editor is required by a Component.
GridModel In terms of the javax.swing.table.TableModel, this is the description of a data model suitable for a symmetrical grid.
GridModelListener The interface of listeners to GridModel changes
GridSelectionListener The interface of listeners to GridSelectionModel changes
GridSelectionModel A model for the selection of cells inside a grid.
QuerySpanModel This interface should be implemented by span models that are able to answer a question about the presence of a span at a certain point.
RulerModel This interface captures the model for handling a component that can be segmented along the horizontal or vertical axis, with each segment size being separately tunable.
RulerModelListener The interface of listeners to RulerModel changes
SpanModel The model of overspanning information between cells of a rectangular array.
SpanModelListener The interface of listeners to SpanModel changes
StyleContextModel StyleContextModel defines the interface for an object that gives informations about basic attributes for a cell in the grid like the JSmartGrid or a StyleModel like the DefaultStyleModel.
StyleModel This is an interface that provides a way to implement a renderer and an editor collection model.
StyleModelListener StyleModelListener defines the interface for an object that listens to changes in a StyleModel.
 

Class Summary
AbstractCollectionSpanModel A base class for CollectionSpanModels, providing a standard way of handling of listeners through AbstractSpanModel.
AbstractDirectSpanModel A base class for DirectSpanModels, providing a standard way of handling of listeners through AbstractSpanModel.
AbstractGridContext This abstract class provides default implementations for some of the methods in the GridContext.
AbstractGridModel This abstract class provides default implementations for most of the methods in the GridModel interface.
AbstractGridSelectionModel Base implementation of handling listeners for GridSelectionModel.
AbstractQuerySpanModel A base class for QuerySpanModels, providing a standard way to handle of listeners through AbstractSpanModel.
AbstractRulerModel An extension of the RulerModel interface that provides basic listener handling.
AbstractSpanModel A base for SpanModel, providing a standard handling of listeners
AbstractStyleModel This abstract class provides default implementations for most of the methods in the StyleModel interface.
AtomicCell An implementation of ExtentCell that represents a mono-cell span.
GenericCollectionSpanModel An implementation of an extensional, freely updatable SpanModel, stored by "row buckets".
GenericGridModel This is an implementation of GridModel that uses a Vector of Vectors to store the cell value objects.
GridModelEvent Events corresponding to changes in a GridModel.
GridSelectionEvent Events corresponding to changes in a CellsSelectionModel
GridSelectionModel.Factory A factory to create default GridSelectionModel objects.
NullSpanModel This is a stricly empty span model.
RulerModel.Factory A factory to clone ruler model objects and create default ones
RulerModelAdapter A trivial implementation of RulerModelListener.
RulerModelEvent Events corresponding to changes in a RulerModel.
SpanModelEvent Events corresponding to changes in a SpanModel
StyleModelEvent Events corresponding to changes in a StyleModel.
 

Package com.eliad.model Description

This package contains the models needed by the grid component. It depends on the com.eliad.util package. Most models are strictly about data structures, but everything connected to the UIModel refers to javax.swing.