Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

constants group FormComponentType
Description
These constants specify the class types used to identify a component.

Constants
CONTROL This generic identifier is for controls which cannot be identified by an other specific identifier.  
COMMANDBUTTON specifies a control that is used to begin, interrupt, or end a process.  
RADIOBUTTON specifies a control that acts like a radio button. Grouped together, such radio buttons present a set of two or more mutually exclusive choices to the user.  
IMAGEBUTTON specifies a control that displays an image that responds to mouse clicks.  
CHECKBOX specifies a control that is used to check or uncheck to turn an option on or off.  
LISTBOX specifies a control that displays a list from which the user can select one or more items.  
COMBOBOX specifies a control that is used when a list box combined with a static text control or an edit control is needed.  
GROUPBOX specifies a control that displays a frame around a group of controls with or without a caption.  
TEXTFIELD specifies a control that is a text component that allows for the editing of a single line of text.  
FIXEDTEXT specifies a control to display a fixed text, usually used to label other controls.  
GRIDCONTROL is a table like control to display database data.  
FILECONTROL specifies an control which can be used to enter text, extended by an (user-startable) file dialog to browse for files.  
HIDDENCONTROL specifies a control that should not be visible.  
IMAGECONTROL specifies a control to display an image.  
DATEFIELD specifies a control to display and edit a date value.  
TIMEFIELD specifies a control to display and edit a time value.  
NUMERICFIELD specifies a field to display and edit a numeric value.  
CURRENCYFIELD specifies a field to display and edit a currency value.  
PATTERNFIELD specifies a control to display and edit a string according to a pattern.  
SCROLLBAR specifies a control to display and edit, in the form of a scrollbar, a value from a continuous value range  
SPINBUTTON specifies a control to edit, in the form of a spin field, a value from a continuous range of values  
NAVIGATIONBAR specifies a control which provides controller functionality for the ::com::sun::star::form::component::DataForm it belongs to, such as functionality to navigate or filter this form.  
Constants' Details
CONTROL
const short CONTROL = 1;
Description
This generic identifier is for controls which cannot be identified by an other specific identifier.
COMMANDBUTTON
const short COMMANDBUTTON = 2;
Description
specifies a control that is used to begin, interrupt, or end a process.
RADIOBUTTON
const short RADIOBUTTON = 3;
Description
specifies a control that acts like a radio button. Grouped together, such radio buttons present a set of two or more mutually exclusive choices to the user.
IMAGEBUTTON
const short IMAGEBUTTON = 4;
Description
specifies a control that displays an image that responds to mouse clicks.
CHECKBOX
const short CHECKBOX = 5;
Description
specifies a control that is used to check or uncheck to turn an option on or off.
LISTBOX
const short LISTBOX = 6;
Description
specifies a control that displays a list from which the user can select one or more items.
COMBOBOX
const short COMBOBOX = 7;
Description
specifies a control that is used when a list box combined with a static text control or an edit control is needed.
GROUPBOX
const short GROUPBOX = 8;
Description
specifies a control that displays a frame around a group of controls with or without a caption.
TEXTFIELD
const short TEXTFIELD = 9;
Description
specifies a control that is a text component that allows for the editing of a single line of text.
FIXEDTEXT
const short FIXEDTEXT = 10;
Description
specifies a control to display a fixed text, usually used to label other controls.
GRIDCONTROL
const short GRIDCONTROL = 11;
Description
is a table like control to display database data.
FILECONTROL
const short FILECONTROL = 12;
Description
specifies an control which can be used to enter text, extended by an (user-startable) file dialog to browse for files.
HIDDENCONTROL
const short HIDDENCONTROL = 13;
Description
specifies a control that should not be visible.
IMAGECONTROL
const short IMAGECONTROL = 14;
Description
specifies a control to display an image.
DATEFIELD
const short DATEFIELD = 15;
Description
specifies a control to display and edit a date value.
TIMEFIELD
const short TIMEFIELD = 16;
Description
specifies a control to display and edit a time value.
NUMERICFIELD
const short NUMERICFIELD = 17;
Description
specifies a field to display and edit a numeric value.
CURRENCYFIELD
const short CURRENCYFIELD = 18;
Description
specifies a field to display and edit a currency value.
PATTERNFIELD
const short PATTERNFIELD = 19;
Description
specifies a control to display and edit a string according to a pattern.
SCROLLBAR
const short SCROLLBAR = 20;
Description
specifies a control to display and edit, in the form of a scrollbar, a value from a continuous value range
SPINBUTTON
const short SPINBUTTON = 21;
Description
specifies a control to edit, in the form of a spin field, a value from a continuous range of values
NAVIGATIONBAR
const short NAVIGATIONBAR = 22;
Description
specifies a control which provides controller functionality for the ::com::sun::star::form::component::DataForm it belongs to, such as functionality to navigate or filter this form.
Top of Page

Apache Software Foundation

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

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