Child pages
  • ELEMENT_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{hidden}
Wiki Markup
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#BUTTON]
Constant representing an element of the Button type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#CALENDAR]
Constant representing an element of the Calendar type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#CHECK]
Constant representing an element of the Check type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#COMBOBOX]
Constant representing a combobox element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#GROUP]
Constant representing a Group of elements.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#HTML_AREA]
Constant representing a html area element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#IMAGE_MEDIA]
Constant representing an element of the ImageMedia type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#LABEL]
Constant representing an element of the Label type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#PASSWORD]
Constant representing an element of the Password type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#PORTAL]
Constant representing an element of the Portal type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#RADIOS]
Constant representing an element of the Radios type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#RECTANGLE]
Constant representing a rectangle element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#RTF_AREA]
Constant representing a rtf area of element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#SPLITPANE]
Constant representing a splitpane element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TABPANEL]
Constant representing an element of the Tabpanel type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TEXT_AREA]
Constant representing an element of the TextArea type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TEXT_FIELD]
Constant representing an element of the TextField type.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#TYPE_AHEAD]
Constant representing a typeahead element.{td}{tr}{tbody}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=BUTTON|class=node}{tr:id=name}{td}h6.BUTTON{td}{tr}{tr:id=des}{td}Constant representing an element of the Button type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
//the return value for an 


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#BUTTON
Constant representing an element of the Button type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#CALENDAR
Constant representing an element of the Calendar type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#CHECK
Constant representing an element of the Check type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#COMBOBOX
Constant representing a combobox element.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#GROUP
Constant representing a Group of elements.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#HTML_AREA
Constant representing a html area element.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#IMAGE_MEDIA
Constant representing an element of the ImageMedia type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#LABEL
Constant representing an element of the Label type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#PASSWORD
Constant representing an element of the Password type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#PORTAL
Constant representing an element of the Portal type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#RADIOS
Constant representing an element of the Radios type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#RECTANGLE
Constant representing a rectangle element.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#RTF_AREA
Constant representing a rtf area of element.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#SPLITPANE
Constant representing a splitpane element.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TABPANEL
Constant representing an element of the Tabpanel type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TEXT_AREA
Constant representing an element of the TextArea type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TEXT_FIELD
Constant representing an element of the TextField type.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TYPE_AHEAD
Constant representing a typeahead element.

HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idBUTTON
classnode
Table Row (tr)
idname
Table Cell (td)
BUTTON
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Button type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CALENDAR|class=node}{tr:id=name}{td}h6.CALENDAR{td}{tr}{tr:id=des}{td}Constant representing an element of the Calendar type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CHECK|class=node}{tr:id=name}{td}h6.CHECK{td}{tr}{tr:id=des}{td}Constant representing an element of the Check type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=COMBOBOX|class=node}{tr:id=name}{td}h6.COMBOBOX{td}{tr}{tr:id=des}{td}Constant representing a combobox element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=GROUP|class=node}{tr:id=name}{td}h6.GROUP{td}{tr}{tr:id=des}{td}Constant representing a Group of elements.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=HTML_AREA|class=node}{tr:id=name}{td}h6.HTML_AREA{td}{tr}{tr:id=des}{td}Constant representing a html area element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=IMAGE_MEDIA|class=node}{tr:id=name}{td}h6.IMAGE_MEDIA{td}{tr}{tr:id=des}{td}Constant representing an element of the ImageMedia type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=LABEL|class=node}{tr:id=name}{td}h6.LABEL{td}{tr}{tr:id=des}{td}Constant representing an element of the Label type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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 } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PASSWORD|class=node}{tr:id=name}{td}h6.PASSWORD{td}{tr}{tr:id=des}{td}Constant representing an element of the Password type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idCALENDAR
classnode
Table Row (tr)
idname
Table Cell (td)
CALENDAR
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Calendar type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idCHECK
classnode
Table Row (tr)
idname
Table Cell (td)
CHECK
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Check type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
Password
Check type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PASSWORD) { // element is a Password component } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PORTAL|class=node}{tr:id=name}{td}h6.PORTAL{td}{tr}{tr:id=des}{td}Constant representing an element of the Portal type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

if (etype == ELEMENT_TYPES.CHECK)
{
     // element is a Check(box) field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idCOMBOBOX
classnode
Table Row (tr)
idname
Table Cell (td)
COMBOBOX
Table Row (tr)
iddes
Table Cell (td)
Constant representing a combobox element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
Portal
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
PORTAL
COMBOBOX)
{
     // element is a 
Portal
COMBOBOX 
component
element
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RADIOS|class=node}{tr:id=name}{td}h6.RADIOS{td}{tr}{tr:id=des}{td}Constant representing an element of the Radios type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idGROUP
classnode
Table Row (tr)
idname
Table Cell (td)
GROUP
Table Row (tr)
iddes
Table Cell (td)
Constant representing a Group of elements.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idHTML_AREA
classnode
Table Row (tr)
idname
Table Cell (td)
HTML_AREA
Table Row (tr)
iddes
Table Cell (td)
Constant representing a html area element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
Radios
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
RADIOS
HTML_AREA)
{
     // element is a 
Radios field. } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RECTANGLE|class=node}{tr:id=name}{td}h6.RECTANGLE{td}{tr}{tr:id=des}{td}Constant representing a rectangle element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
HTML textarea
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idIMAGE_MEDIA
classnode
Table Row (tr)
idname
Table Cell (td)
IMAGE_MEDIA
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the ImageMedia type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idLABEL
classnode
Table Row (tr)
idname
Table Cell (td)
LABEL
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Label type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
TextField
Label type, as returned by the following code
var etype = elements.elementName.getElementType()
; if (etype == ELEMENT_TYPES.RECTANGLE) { // element is a rectangle element } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RTF_AREA|class=node}{tr:id=name}{td}h6.RTF_AREA{td}{tr}{tr:id=des}{td}Constant representing a rtf area of element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //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. } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SPLITPANE|class=node}{tr:id=name}{td}h6.SPLITPANE{td}{tr}{tr:id=des}{td}Constant representing a splitpane element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
;
if (etype == ELEMENT_TYPES.LABEL)
{
     // element is a Label component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idPASSWORD
classnode
Table Row (tr)
idname
Table Cell (td)
PASSWORD
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Password type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idPORTAL
classnode
Table Row (tr)
idname
Table Cell (td)
PORTAL
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Portal type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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.
SPLITPANE
PORTAL)
{
     // element is a
splitpane element } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TABPANEL|class=node}{tr:id=name}{td}h6.TABPANEL{td}{tr}{tr:id=des}{td}Constant representing
 Portal component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idRADIOS
classnode
Table Row (tr)
idname
Table Cell (td)
RADIOS
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Radios type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
Tabpanel type.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Radios type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RADIOS)
{
     // element is a Radios field.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idRECTANGLE
classnode
Table Row (tr)
idname
Table Cell (td)
RECTANGLE
Table Row (tr)
iddes
Table Cell (td)
Constant representing a rectangle element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
Tabpanel
TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
TABPANEL
RECTANGLE)
{
     // element is a 
Tabpanel
rectangle 
component
element
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TEXT_AREA|class=node}{tr:id=name}{td}h6.TEXT_AREA{td}{tr}{tr:id=des}{td}Constant representing
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idRTF_AREA
classnode
Table Row (tr)
idname
Table Cell (td)
RTF_AREA
Table Row (tr)
iddes
Table Cell (td)
Constant representing a rtf area of element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
TextArea
TextField type
.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RTF_AREA)
{
     // element is a RTF textarea.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idSPLITPANE
classnode
Table Row (tr)
idname
Table Cell (td)
SPLITPANE
Table Row (tr)
iddes
Table Cell (td)
Constant representing a splitpane element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an
element of the TextArea
 element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.
TEXT_AREA
SPLITPANE)
{
     // element is a 
TextArea
splitpane 
field
element
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TEXT_FIELD|class=node}{tr:id=name}{td}h6.TEXT_FIELD{td}{tr}{tr:id=des}{td}Constant representing
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTABPANEL
classnode
Table Row (tr)
idname
Table Cell (td)
TABPANEL
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the Tabpanel type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
TextField
Tabpanel type
.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TABPANEL)
{
     // element is a Tabpanel component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTEXT_AREA
classnode
Table Row (tr)
idname
Table Cell (td)
TEXT_AREA
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the TextArea type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

//the return value for an element of the 
TextField
TextArea type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_
FIELD
AREA)
{
     // element is a 
text field } {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TYPE_AHEAD|class=node}{tr:id=name}{td}h6.TYPE_AHEAD{td}{tr}{tr:id=des}{td}Constant representing a typeahead element.{td}{tr}{tr:id=snc}{td}*Since*\\ Replace with version info{td}{tr}{tr:id=prs}{td}*Parameters*\\{td}{tr}{tr:id=ret}{td}*Returns*\\[String]{td}{tr}{tr:id=see}{td}*Also see*\\{div:class=sIndent}{div}{td}{tr}{tr:id=link}{td}*External links*\\{div:class=sIndent}{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
TextArea field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTEXT_FIELD
classnode
Table Row (tr)
idname
Table Cell (td)
TEXT_FIELD
Table Row (tr)
iddes
Table Cell (td)
Constant representing an element of the TextField type.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTYPE_AHEAD
classnode
Table Row (tr)
idname
Table Cell (td)
TYPE_AHEAD
Table Row (tr)
iddes
Table Cell (td)
Constant representing a typeahead element.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
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
}
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)