service GridControl in module com::sun::star::form::control:: |
service GridControl;
describes a table-like control for displaying data.
The control is usually used together with a model implementing the
Included Services |
Exported Interfaces |
allows committing the content of the active cell of the control.
allows access to the active cell within the grid.
Only the column position can be modified using this interface, as the row position within a table control bound to a data source is given implicitly (by the cursor position of the data source).
used to broadcast modifications made by the user (within the active cell)
allows access to the field data of the grid's current row in different formats
allows access to objects wrapping a single column
allows creation of an enumeration for the column objects
allows to add/remove listeners.
is used to switch the operating modes of the control.
Besides the normal opreration mode (which is used to display the database form's data) the control may for instance support a filter mode.
used to control the selection of rows in the grid control.
The selection used with the methods
Here the elements of the Sequence are the bookmarks (in the
allows external components to register dispatchers for some common form actions.
A grid control can contain own UI elements for traveling within the database form it belongs to (This
concept seems to make sense, as a grid control - in opposite to other data aware controls - displayes
not only one record at a time, but a larger number of records of the database form.)
With the help of this interface, external components which wish to handle such travelings themself can
register interceptors for the actions in question.
Usual URLs to use include
A concrete implementation of this service may offer more or less URLs, but if it offers some of the URLs above, it must stick to the meanings defined above.
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.