Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt :: grid ::

unpublished service UnoControlGrid
Usage Restrictions
not published
Description
A control that displays a set of tabular data.

The Column Model

The horizontal structure of the grid is defined by the XGridColumnModel implemented in DefaultGridColumnModel The XGridColumn implemented in the properties and behavior of a single column. Use the XGridColumnModel::addColumn() to add a column to the column model.

The Data Model

All row data are stored in the XGridDataModel. Use the DefaultGridDataModel to add XGridDataModel::addRow() or remove XGridDataModel::removeRow() rows.

The column and data model must be set at the UnoControlGridModel::ColumnModel and UnoControlGridModel::GridDataModel properties.

Selection

If you are interested in knowing when the selection changes implement a XGridSelectionListener and add the instance with the method XGridRowSelection::addSelectionListener(). You than will be notified for any selection change.

The ::XGridSelection interface provides a bunch of methods to set and get selection for the grid control.

Since
OOo 3.3

Included Services - Summary
::com::sun::star::awt::UnoControl
(referenced entity's summary:)
specifies an abstract control.
Exported Interfaces - Summary
XGridControl
(referenced entity's summary:)
An interface to a control that displays a tabular data.
XGridRowSelection
(referenced entity's summary:)
This interfaces provides access to the selection of row for UnoControlGrid.
Included Services - Details
::com::sun::star::awt::UnoControl
(referenced entity's summary:)
specifies an abstract control.
Exported Interfaces - Details
XGridControl
(referenced entity's summary:)
An interface to a control that displays a tabular data.
XGridRowSelection
(referenced entity's summary:)
This interfaces provides access to the selection of row for UnoControlGrid.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.