1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_form_FormComponentType_idl__ 24#define __com_sun_star_form_FormComponentType_idl__ 25 26 27//============================================================================= 28 29 module com { module sun { module star { module form { 30 31//============================================================================= 32 33/** These constants specify the class types used to identify a component. 34 */ 35published constants FormComponentType 36{ 37 //------------------------------------------------------------------------- 38 39 /** This generic identifier is for controls which cannot be identified by 40 an other specific identifier. 41 */ 42 const short CONTROL = 1; 43 44 /** specifies a control that is used to begin, interrupt, or end a process. 45 */ 46 const short COMMANDBUTTON = 2; 47 48 /** specifies a control that acts like a radio button. Grouped together, such radio buttons 49 present a set of two or more mutually exclusive choices to the user. 50 */ 51 const short RADIOBUTTON = 3; 52 53 /** specifies a control that displays an image that responds to mouse clicks. 54 */ 55 const short IMAGEBUTTON = 4; 56 57 /** specifies a control that is used to check or uncheck to turn an option on or off. 58 */ 59 const short CHECKBOX = 5; 60 61 /** specifies a control that displays a list from which the user can select one or more items. 62 */ 63 const short LISTBOX = 6; 64 65 /** specifies a control that is used when a list box combined with a static text control or an edit 66 control is needed. 67 */ 68 const short COMBOBOX = 7; 69 70 /** specifies a control that displays a frame around a group of controls with or without a caption. 71 */ 72 const short GROUPBOX = 8; 73 74 /** specifies a control that is a text component that allows for the editing of a single line of text. 75 */ 76 const short TEXTFIELD = 9; 77 78 /** specifies a control to display a fixed text, usually used to label other controls. 79 */ 80 const short FIXEDTEXT = 10; 81 82 /** is a table like control to display database data. 83 */ 84 const short GRIDCONTROL = 11; 85 86 /** specifies an control which can be used to enter text, extended by an (user-startable) file dialog 87 to browse for files. 88 */ 89 const short FILECONTROL = 12; 90 91 /** specifies a control that should not be visible. 92 */ 93 const short HIDDENCONTROL = 13; 94 95 /** specifies a control to display an image. 96 */ 97 const short IMAGECONTROL = 14; 98 99 /** specifies a control to display and edit a date value. 100 */ 101 const short DATEFIELD = 15; 102 103 /** specifies a control to display and edit a time value. 104 */ 105 const short TIMEFIELD = 16; 106 107 /** specifies a field to display and edit a numeric value. 108 */ 109 const short NUMERICFIELD = 17; 110 111 /** specifies a field to display and edit a currency value. 112 */ 113 const short CURRENCYFIELD = 18; 114 115 /** specifies a control to display and edit a string according to a pattern. 116 */ 117 const short PATTERNFIELD = 19; 118 119 /** specifies a control to display and edit, in the form of a scrollbar, a value from a continuous value range 120 */ 121 const short SCROLLBAR = 20; 122 123 /** specifies a control to edit, in the form of a spin field, a value from a continuous range of values 124 */ 125 const short SPINBUTTON = 21; 126 127 /** specifies a control which provides controller functionality for the <type scope="com::sun::star::form::component">DataForm</type> 128 it belongs to, such as functionality to navigate or filter this form. 129 */ 130 const short NAVIGATIONBAR = 22; 131}; 132 133//============================================================================= 134 135}; }; }; }; 136 137/*============================================================================= 138 139=============================================================================*/ 140#endif 141