Child pages
  • ELEMENT_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
String
Table Cell (td)ACCORDIONPANEL
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

Table Cell (td)
String
Table Cell (td)BUTTON
servoy sSummary12%30%58%height: 30px;3Constants SummaryConstant representing a accordionpanel element. Table Row (tr)
Table Cell (td)
String
Table Cell (td)CALENDAR
Constant representing an element of the Button type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)CHECK
Constant representing an element of the Calendar type. Table Row (tr)Constant representing an element of the Check type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)COMBOBOX
Table Row (tr)
Table Cell (td)
String
Table Cell (td)FORM
Constant representing a combobox element. Table Row (tr)
Table Cell (td)
String
Table Cell (td)GROUP
Constant representing a form element.
Table Cell (td)
String
Table Cell (td)HTML_AREA
Constant representing a Group of elements. Table Row (tr)
Table Cell (td)
String
Table Cell (td)IMAGE_MEDIA
Constant representing a html area element. Table Row (tr)Constant representing an element of the ImageMedia type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)LABEL
Constant representing an element of the Label type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)LISTBOX
Table Cell (td)
String
Table Cell (td)MULTISELECT_LISTBOX
Constant representing a listbox element. Table Row (tr)Constant representing a multi selection listbox element. Table Row (tr)
Table Cell (td)
String
Table Cell (td)PASSWORD
Table Cell (td)
String
Table Cell (td)PORTAL
Constant representing an element of the Password type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)RADIOS
Constant representing an element of the Portal type. Table Row (tr)Constant representing an element of the Radios type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)RECTANGLE
Table Cell (td)
String
Table Cell (td)RTF_AREA
Constant representing a rectangle element. Table Row (tr)Constant representing a rtf area of element. Table Row (tr)
Table Cell (td)
String
Table Cell (td)SPINNER
Table Cell (td)
String
Table Cell (td)SPLITPANE
Constant representing a spinner element. Table Row (tr)
Table Cell (td)
String
Table Cell (td)TABPANEL
Constant representing a splitpane element. Table Row (tr) Table Cell (td)TEXT_AREA
Constant representing an element of the Tabpanel type. Table Row (tr)
Table Cell (td)
String
TEXT_FIELD
Constant representing an element of the TextArea type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)Constant representing an element of the TextField type. Table Row (tr)
Table Cell (td)
String
Table Cell (td)TYPE_AHEAD
Constant representing a typeahead element. HTML Table

constantclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Constants Details Table Body (tbody)ididACCORDIONPANEL Table Row (tr)nametd

ACCORDIONPANEL

Table Row (tr)id

des Table Cell (td) DivclasssIndentConstant representing a accordionpanel element. Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idBUTTON
Table Row (tr)
idname
Table Cell (td)

BUTTON

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.ACCORDIONPANEL)
{
     // element is a accordion panel element
}
sIdentjavascriptlastDetailRow BUTTONname

BUTTON

dessIndentConstant representing an element of the Button type.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCALENDAR
Table Row (tr)
idname
Table Cell (td)

CALENDAR

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Button type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.BUTTON)
{
     // element is a Button component
}
sIdentjavascriptlastDetailRow CALENDARname

CALENDAR

dessIndentConstant representing an element of the Calendar type.
Table Row (tr)idtdret

Returns

divsIndentclients

classid

Supported Clients

sIndent
String Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCHECK
Table Row (tr)
idname
Table Cell (td)

CHECK

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Calendar type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CALENDAR)
{
     // element is a Calendar field
}
sIdentjavascriptlastDetailRow CHECKname

CHECK

dessIndentConstant representing an element of the Check type.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCOMBOBOX
Table Row (tr)
idname
Table Cell (td)

COMBOBOX

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Check type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CHECK)
{
     // element is a Check(box) field
}
sIdentjavascriptlastDetailRow COMBOBOXname

COMBOBOX

dessIndentConstant representing a combobox element.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idFORM
Table Row (tr)
idname
Table Cell (td)

FORM

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.COMBOBOX)
{
     // element is a COMBOBOX element
}
sIdentjavascriptlastDetailRow FORMname

FORM

dessIndentConstant representing a form element.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idGROUP
Table Row (tr)
idname
Table Cell (td)

GROUP

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Form type, as returned by the following code
var renderElementType = event.getRenderable().getElementType();
if (renderElementType == ELEMENT_TYPES.FORM)
{
     // element is a type form element
}
sIdentjavascriptlastDetailRow GROUPname

GROUP

dessIndentConstant representing a Group of elements.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idHTML_AREA
Table Row (tr)
idname
Table Cell (td)

HTML_AREA

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.GROUP)
{
     // element is a group element
}
sIdentjavascriptlastDetailRow HTML_AREAname

HTML_AREA

dessIndentConstant representing a html area element.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idIMAGE_MEDIA
Table Row (tr)
idname
Table Cell (td)

IMAGE_MEDIA

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.HTML_AREA)
{
     // element is a HTML textarea
}
Table Row (tr)idsIdentjavascriptlastDetailRow IMAGE_MEDIAname

IMAGE_MEDIA

dessIndentConstant representing an element of the ImageMedia type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLABEL
Table Row (tr)
idname
Table Cell (td)

LABEL

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the ImageMedia type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.IMAGE_MEDIA)
{
     // element is a Image Media field
}
Table Row (tr)idsIdentjavascriptlastDetailRow LABELname

LABEL

dessIndentConstant representing an element of the Label type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLISTBOX
Table Row (tr)
idname
Table Cell (td)

LISTBOX

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Label type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LABEL)
{
     // element is a Label component
}
sIdentjavascriptlastDetailRow LISTBOXname

LISTBOX

dessIndentConstant representing a listbox element.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idMULTISELECT_LISTBOX
Table Row (tr)
idname
Table Cell (td)

MULTISELECT_LISTBOX

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the ListBox type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LISTBOX)
{
     // element is a LISTBOX element
}
idsIdentjavascriptlastDetailRow MULTISELECT_LISTBOXname

MULTISELECT_LISTBOX

dessIndentConstant representing a multi selection listbox element.
Table Row (tr)tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPASSWORD
Table Row (tr)
idname
Table Cell (td)

PASSWORD

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.MULTISELECT_LISTBOX)
{
     // element is a MULTISELECT_LISTBOX element
}
Table Row (tr)idsIdentjavascriptlastDetailRow PASSWORDname

PASSWORD

dessIndentConstant representing an element of the Password type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPORTAL
Table Row (tr)
idname
Table Cell (td)

PORTAL

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Password type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PASSWORD)
{
     // element is a Password component
}
Table Row (tr)idsIdentjavascriptlastDetailRow PORTALname

PORTAL

dessIndentConstant representing an element of the Portal type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRADIOS
Table Row (tr)
idname
Table Cell (td)

RADIOS

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Portal type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PORTAL)
{
     // element is a Portal component
}
Table Row (tr)idsIdentjavascriptlastDetailRow RADIOSname

RADIOS

dessIndentConstant representing an element of the Radios type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRECTANGLE
Table Row (tr)
idname
Table Cell (td)

RECTANGLE

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Radios type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RADIOS)
{
     // element is a Radios field.
}
idsIdentjavascriptlastDetailRow RECTANGLEname

RECTANGLE

dessIndentConstant representing a rectangle element.
Table Row (tr)tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRTF_AREA
Table Row (tr)
idname
Table Cell (td)

RTF_AREA

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RECTANGLE)
{
     // element is a rectangle element
}
Table Row (tr)idsIdentjavascriptlastDetailRow RTF_AREAname

RTF_AREA

dessIndentConstant representing a rtf area of element.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPINNER
Table Row (tr)
idname
Table Cell (td)

SPINNER

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RTF_AREA)
{
     // element is a RTF textarea.
}
idsIdentjavascriptlastDetailRow SPINNERname

SPINNER

dessIndentConstant representing a spinner element.
Table Row (tr)tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPLITPANE
Table Row (tr)
idname
Table Cell (td)

SPLITPANE

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Spinner type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.SPINNER)
{
     // element is a SPINNER element
}
idsIdentjavascriptlastDetailRow SPLITPANEname

SPLITPANE

dessIndentConstant representing a splitpane element.
Table Row (tr)tdret

Returns

divsIndentclients

classid

Supported Clients

sIndent
String Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTABPANEL
Table Row (tr)
idname
Table Cell (td)

TABPANEL

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.SPLITPANE)
{
     // element is a splitpane element
}
Table Row (tr)idsIdentjavascriptlastDetailRow TABPANELname

TABPANEL

dessIndentConstant representing an element of the Tabpanel type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_AREA
Table Row (tr)
idname
Table Cell (td)

TEXT_AREA

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Tabpanel type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TABPANEL)
{
     // element is a Tabpanel component
}
Table Row (tr)idsIdentjavascriptlastDetailRow TEXT_AREAname

TEXT_AREA

dessIndentConstant representing an element of the TextArea type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_FIELD
Table Row (tr)
idname
Table Cell (td)

TEXT_FIELD

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextArea type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_AREA)
{
     // element is a TextArea field
}
Table Row (tr)idsIdentjavascriptlastDetailRow TEXT_FIELDname

TEXT_FIELD

dessIndentConstant representing an element of the TextField type.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTYPE_AHEAD
Table Row (tr)
idname
Table Cell (td)

TYPE_AHEAD

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_FIELD)
{
     // element is a text field
}
sIdentjavascriptlastDetailRow TYPE_AHEADname

TYPE_AHEAD

dessIndentConstant representing a typeahead element.
Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
String Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td) SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TYPE_AHEAD)
{
     // element is a type ahead element
}
sIdentjavascriptlastDetailRow