service GridControl in module com::sun::star::form::component::

(Global Index)

Syntax

service GridControl;

Description

This service specifies a ControlModel to represent data in a table.

Included Services

com::sun::star::form::FormControlModel

Description

specifies a control model within a form.


Exported Interfaces

com::sun::star::form::XGridColumnFactory

Description

used when creating new columns.


com::sun::star::container::XContainer

Description

gives access to the elements.


com::sun::star::view::XSelectionSupplier

Description

gives access to the currently selection.


com::sun::star::container::XNameContainer

Description

allows to add/remove elements by name.


com::sun::star::container::XIndexContainer

Description

gives access to the elements by index.


com::sun::star::container::XEnumerationAccess

Description

creates an enumeration of the elements.


com::sun::star::script::XEventAttacherManager

Description

gives access to the XEventAttachManger.


com::sun::star::form::XReset

Description

resets the control.


Property Summary

Border returns the border style of the control.

Enabled determines whether the control is enabled or disabled.

FontDescriptor contains the font attributes of the text in the control.

RowHeight specifies the height of a row of the grid.

Tabstop determines whether the control can be reached by the tabulator key.

TextColor specifies the text color (RGB) of the control.

Property Details



Border

Syntax

short Border;

Description

returns the border style of the control.

 0: No border
 1: 3D border
 2: simple border

Enabled

Syntax

boolean Enabled;

Description

determines whether the control is enabled or disabled.


FontDescriptor

Syntax

com::sun::star::awt::FontDescriptor FontDescriptor;

Description

contains the font attributes of the text in the control.


RowHeight

Syntax

long RowHeight;

Description

specifies the height of a row of the grid.


Tabstop

Syntax

boolean Tabstop;

Description

determines whether the control can be reached by the tabulator key.


TextColor

Syntax

long TextColor;

Description

specifies the text color (RGB) of the control.

Top of Page